Last active
June 29, 2021 19:06
-
-
Save geekbass/acbd8f9bcc83ab3e4264da6be77c147f to your computer and use it in GitHub Desktop.
Revisions
-
geekbass revised this gist
Jun 29, 2021 . 1 changed file with 29 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -5,4 +5,33 @@ kubectl run -i --tty --rm debug --image=curlimages/curl --restart=Never -- www.g kubectl run -i --tty --rm debug --image=busybox --restart=Never -- sh ``` Testing Volume Mount from Configmap ``` --- apiVersion: v1 kind: Pod metadata: name: busybox1 namespace: spark labels: app: busybox1 spec: containers: - image: busybox command: - sleep - "3600" imagePullPolicy: IfNotPresent name: busybox volumeMounts: - name: executor-template mountPath: "/opt/spark/configs" readOnly: true restartPolicy: Always volumes: - name: executor-template configMap: name: spark-executor-template ``` -
Weston Bassler created this gist
Dec 4, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ Useful Kubectl Commands ``` kubectl run -i --tty --rm debug --image=curlimages/curl --restart=Never -- www.google.com -vvv kubectl run -i --tty --rm debug --image=busybox --restart=Never -- sh ```