Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
githubfoam committed Jul 2, 2020
1 parent 60f261f commit dc6f7f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
8 changes: 7 additions & 1 deletion app/deploy-dashboard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ echo $token #Display the token using the echo command and copy it to use for log

kubectl get pods --all-namespaces
kubectl get pod -n kubernetes-dashboard -o wide --all-namespaces
echo "=============================Dashboard============================================================="
echo "===============================Adding Heapster Metrics to the Kubernetes Dashboard==========================================================="
# - sudo snap install helm --classic && helm init
# - kubectl create serviceaccount --namespace kube-system tiller #Create a service account
# - kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller #Bind the new service account to the cluster-admin role. This will give tiller admin access to the entire cluster
# - kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' #Deploy tiller and add the line serviceAccount: tiller to spec.template.spec
# - helm install --name heapster stable/heapster --namespace kube-system #install Heapster
# - kind delete cluster --name istio-testing #delete the existing cluster
9 changes: 1 addition & 8 deletions app/deploy-istio.sh
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ kubectl get pods #-- the Bookinfo pods should be deleted
#If no longer needed, use the following command to remove it
kubectl delete namespace istio-system


# - |
# SCRIPTDIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )
# # only ask if in interactive mode
Expand Down Expand Up @@ -159,10 +159,3 @@ kubectl get pods #-- the Bookinfo pods should be deleted
# - kubectl get gateway #-- there should be no gateway
# - kubectl get pods #-- the Bookinfo pods should be deleted
#Bookinfo cleanup ends
# - echo "===============================Adding Heapster Metrics to the Kubernetes Dashboard==========================================================="
# - sudo snap install helm --classic && helm init
# - kubectl create serviceaccount --namespace kube-system tiller #Create a service account
# - kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller #Bind the new service account to the cluster-admin role. This will give tiller admin access to the entire cluster
# - kubectl patch deploy --namespace kube-system tiller-deploy -p '{"spec":{"template":{"spec":{"serviceAccount":"tiller"}}}}' #Deploy tiller and add the line serviceAccount: tiller to spec.template.spec
# - helm install --name heapster stable/heapster --namespace kube-system #install Heapster
# - kind delete cluster --name istio-testing #delete the existing cluster

0 comments on commit dc6f7f3

Please sign in to comment.