plug-in kube
Print
Created by: Catherine Fernandez
Modified on: Mon, 10 Jan, 2022 at 3:37 PM
Configuration
# one.yaml
required_version: ">= 0.7.1"
plugins:
kube:
package: one-cli-plugin-kube==0.5.2
module: 'plugin_kube'
parameters:
cluster_name: <redact>
aws_default_region: <redact>
aws_assume_role: # Optional: default to false
kubeconfig: # Optional: Override default kubeconfig path
Usage
one kubectl ...
one helm ...
one kube-bash
Development
Dependencies
Python Virtual Environment
# Create environment
python3 -m venv env
# To activate the environment
source env/bin/activate
# When you finish you can exit typing
deactivate
Install dependencies
pip3 install --editable .
Catherine is the author of this solution article.
Did you find it helpful?
Yes
No
Send feedback Sorry we couldn't be helpful. Help us improve this article with your feedback.