class
Kubernetes::Resources::V1
- Kubernetes::Resources::V1
- Reference
- Object
Overview
Facade for v1 API resources.
This class provides convenient access to all core and apps/v1 resources through a single, type-safe interface.
Example
k8s = Kubernetes::Client.new
# Access resources through the v1 API
pods = k8s.v1.pods.list_namespaced("default")
k8s.v1.deployments.scale("default", "nginx", replicas: 10)
logs = k8s.v1.pods.logs("default", "nginx")
Defined in:
resources/v1.crConstructors
Instance Method Summary
- #config_maps : ConfigMaps
- #deployments : Deployments
- #namespaces : Namespaces
- #pods : Pods
- #secrets : Secrets
- #services : Services