Class: Porkadot::Cmd::Install::Kubernetes::Cli
- Inherits:
-
SubCommandBase
- Object
- Thor
- SubCommandBase
- Porkadot::Cmd::Install::Kubernetes::Cli
- Includes:
- Utils
- Defined in:
- lib/porkadot/cmd/install/kubernetes.rb
Class Method Summary collapse
Instance Method Summary collapse
- #all ⇒ Object
- #apiserver ⇒ Object
- #controller_manager ⇒ Object
-
#initialize(*arg) ⇒ Cli
constructor
A new instance of Cli.
- #proxy ⇒ Object
- #scheduler ⇒ Object
Methods included from Utils
Methods inherited from SubCommandBase
Constructor Details
#initialize(*arg) ⇒ Cli
Returns a new instance of Cli.
6 7 8 |
# File 'lib/porkadot/cmd/install/kubernetes.rb', line 6 def initialize(*arg) super end |
Class Method Details
.subcommand_prefix ⇒ Object
60 61 62 |
# File 'lib/porkadot/cmd/install/kubernetes.rb', line 60 def self.subcommand_prefix 'install kubernetes' end |
Instance Method Details
#all ⇒ Object
27 28 29 30 |
# File 'lib/porkadot/cmd/install/kubernetes.rb', line 27 def all logger.info "Installing kubernetes" self.install end |
#apiserver ⇒ Object
34 35 36 37 |
# File 'lib/porkadot/cmd/install/kubernetes.rb', line 34 def apiserver logger.info "Installing kube-apiserver" self.install 'kube-apiserver' end |
#controller_manager ⇒ Object
41 42 43 44 |
# File 'lib/porkadot/cmd/install/kubernetes.rb', line 41 def controller_manager logger.info "Installing kube-controller-manager" self.install 'kube-controller-manager' end |
#proxy ⇒ Object
55 56 57 58 |
# File 'lib/porkadot/cmd/install/kubernetes.rb', line 55 def proxy logger.info "Installing kube-proxy" self.install 'kube-proxy' end |
#scheduler ⇒ Object
48 49 50 51 |
# File 'lib/porkadot/cmd/install/kubernetes.rb', line 48 def scheduler logger.info "Installing kube-scheduler" self.install 'kube-scheduler' end |