kubectl plugin for Kaholo.
Method Expose Deployment
Executes kubectl expose deployment command. Exposes the deployment for external access.
Parameters:
- Deployment (String) Required – The name of the deployment to expose.
- Type (String) Required – The type of the service that will expose the deployment.
- Name (String) Required – The name of the new deployment expose service that will be created.
- Sudo (Boolean) Optional – If selected the command will be executed as super user. default value is false.
Method: Get Pods
Run kubectl get pods command. Returns all the pods in the cluster.
Parameter
- Sudo (Boolean) Optional – If selected the command will be executed as super user. default value is false.
Method: Get Services
Run kubectl get services. Returns all the services in the cluster.
Parameters
- Sudo (Boolean) Optional – If selected the command will be executed as super user. default value is false.
- Namespace (String) Optional – If provided, will print only the services in the specified namespace.
Method: Apply
Run Kubectl apply, which creates or updates resources in Kubernetes.
Parameters
- File Path (String) Required – The path to the yml file to apply.
- Force (Boolean) Optional – If true, immediately remove resources from API and bypass graceful deletion. Default value is false.
- No Overwrite (Boolean) Optional – If specified, Don’t automatically resolve conflicts between the modified and live configuration by using values from the modified configuration.
- Dry-run (Options) Optional – Possible values are “none”, “server”, or “client”. If client strategy, only print the object that would be sent, without sending it. If server strategy, submit server-side request without persisting the resource. Default Value is ‘none’.
- Sudo (Boolean) Optional – if selected the command will be executed as super user. default value is false.