Commit 5bbc88ab authored by Andres Anaya Amariels's avatar Andres Anaya Amariels 🚀
Browse files

kubectl cluster

parent 2bc94c30
Loading
Loading
Loading
Loading
+9 −8
Original line number Diff line number Diff line
@@ -124,14 +124,15 @@ deploy_ocf_dev:
    - echo "### install helm###"
    - curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
    - chmod 700 get_helm.sh
#    - ./get_helm.sh
#    - helm version
#    - echo "### install kubectl###" 
#    - curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
#    - chmod +x kubectl
#    - sudo mv kubectl /usr/local/bin
#    - kubectl version --output=yaml
#    - echo "### setting kubeconfig###"
    - ./get_helm.sh
    - helm version
    - echo "### install kubectl###" 
    - curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
    - chmod +x kubectl
    - sudo mv kubectl /usr/local/bin
    - kubectl version --output=yaml
    - echo "### setting kubeconfig###"
    - kubectl cluster-info
#    - echo $KUBECONFIG | base64 -d > ~/cluster.kubeconfig
#    - kubectl get nodes --kubeconfig ~/cluster.kubeconfig
#    - kubectl cluster-info --kubeconfig ~/cluster.kubeconfig #comment that when is working