Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
* Use python kube-client
* Modularize delete functionality
* Add -n, --namespace parameter for namespace
* Error handling

Signed-off-by: Chirayu Kapoor <[email protected]>
  • Loading branch information
chiukapoor committed Jul 4, 2024
1 parent c582411 commit d4d61ce
Show file tree
Hide file tree
Showing 2 changed files with 724 additions and 794 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Let’s look at an example of creating a multi-instance WordPress Service using
source venv/bin/activate
pip3 install -r requirements.txt
apiserver=`kubectl config view --minify -o jsonpath='{.clusters[0].cluster.server}'`
python3 provider-kubeconfig.py -s $apiserver create $KUBEPLUS_NS
python3 provider-kubeconfig.py -s $apiserver create --namespace $KUBEPLUS_NS
deactivate
```

Expand Down
Loading

0 comments on commit d4d61ce

Please sign in to comment.