Class: Dapp::Kube::Kubernetes::Client::Resource::Deployment
- Defined in:
- lib/dapp/kube/kubernetes/client/resource/deployment.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#annotations, #initialize, #metadata, #name, #status, #uid
Constructor Details
This class inherits a constructor from Dapp::Kube::Kubernetes::Client::Resource::Base
Instance Method Details
#replicas ⇒ Object
5 6 7 |
# File 'lib/dapp/kube/kubernetes/client/resource/deployment.rb', line 5 def replicas spec.fetch('spec', {}).fetch('replicas', nil) end |