This commit is contained in:
Vassiliy Yegorov
2021-05-06 15:02:42 +07:00
commit 05b0d36bb3
16 changed files with 260 additions and 0 deletions

10
Cluster/2-add-config.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
# add config file
cat kube_config_cluster.yml > ~/.kube/k8s-hls
# enable config auth
export KUBECONFIG=$(find ~/.kube -maxdepth 1 -type f -name '*' | tr "\n" ":")
# test auth to cluster
kubectl get pods --all-namespaces