sandervanvugt

CKAD day3 july21

Jul 8th, 2021
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.00 KB | None | 0 0
  1. student@student-virtual-machine:~/ckad/devopsinfourweeks/my-ghost-app$ history
  2. 1 sudo apt install -y vim git
  3. 2 git clone https://github.com/sandervanvugt/ckad
  4. 3 cd ckad
  5. 4 ./kube-setup.sh
  6. 5 sudo reboot
  7. 6 cd ckad
  8. 7 cat kube-setup.sh
  9. 8 minikube start --memory 4096 --vm-driver=kvm2
  10. 9 minikube status
  11. 10 sudo reboot
  12. 11 minikube start --memory 4096 --vm-driver=kvm2
  13. 12 minikube status
  14. 13 history
  15. 14 cd ckad
  16. 15 vim kube-setup.sh
  17. 16 minikube status
  18. 17 minikube --help
  19. 18 minikube ssh
  20. 19 kubectl get all
  21. 20 minikube dashboard
  22. 21 kubectl get all
  23. 22 kubectl create deployment firstnginx --image=nginx
  24. 23 kubectl get all
  25. 24 ls
  26. 25 ./countdown 12
  27. 26 kubectl get all
  28. 27 history
  29. 28 kubectl get all
  30. 29 kubectl delete mynginx-7bf8c6db65-x5qwc
  31. 30 kubectl delete pod mynginx-7bf8c6db65-x5qwc
  32. 31 kubectl get all
  33. 32 kubectl -h | less
  34. 33 kubectl completion -h | less
  35. 34 source <(kubectl completion bash)
  36. 35 kubectl scale deployment mynginx --replicas=3
  37. 36 kubectl get all
  38. 37 kubectl get pods -o wide
  39. 38 ./countdown 12
  40. 39 kubectl api-versions
  41. 40 kubectl api-resources | less
  42. 41 history
  43. 42 kubectl proxy --port=8001 &
  44. 43 curl http://localhost:8001/version
  45. 44 kubectl get pods
  46. 45 curl http://localhost:8001/api/v1/namespaces/default/pods | less
  47. 46 history -10
  48. 47 history | tail -10
  49. 48 kubectl get pods
  50. 49 curl http://localhost:8001/api/v1/namespaces/default/pods/firstnginx-8cdb8cd74-kbtr2
  51. 50 curl -XDELETE http://localhost:8001/api/v1/namespaces/default/pods/firstnginx-8cdb8cd74-kbtr2
  52. 51 kubectl get pods
  53. 52 kubectl api-resources | less
  54. 53 kubectl -h | less
  55. 54 kubectl run -h | less
  56. 55 kubectl config
  57. 56 kubectl config -h
  58. 57 kubectl config view
  59. 58 cd
  60. 59 ls -a
  61. 60 cd .kube/
  62. 61 ls
  63. 62 cat config
  64. 63 kubectl config view
  65. 64 cd
  66. 65 kubectl config view
  67. 66 kubectl run -h | less
  68. 67 kubectl run nginx --image=nginx
  69. 68 kubectl get pods
  70. 69 kubectl delete pod nginx
  71. 70 kubectl get pods
  72. 71 kubectl run nginx --image=nginx
  73. 72 kubectl describe pod nginx | less
  74. 73 kubectl run buysybox --image=busybox
  75. 74 kubectl get pods
  76. 75 kubectl describe pod buysybox | less
  77. 76 kubectl get pod buysybox -o yaml | less
  78. 77 ckad/countdown 12
  79. 78 cd ckad/
  80. 79 ls
  81. 80 vim busybox.yaml
  82. 81 kubectl api-resources | less
  83. 82 vim busybox.yaml
  84. 83 kubectl get ns
  85. 84 kubectl get pods
  86. 85 kubectl get pods -A
  87. 86 kubectl get pods -n kube-system
  88. 87 vim busybox.yaml
  89. 88 kubectl apply -f busybox.yaml
  90. 89 kubectl get pods
  91. 90 kubectl run busyblah --image=busybox --dry-run -o yaml > busyblah.yaml
  92. 91 vim busyblah.yaml
  93. 92 kubectl creaste
  94. 93 kubectl create -f busyblah.yaml
  95. 94 vim busyblah.yaml
  96. 95 kubectl create -f busyblah.yaml
  97. 96 kubectl get pods
  98. 97 kubectl explain pods
  99. 98 kubectl explain pods.spec | less
  100. 99 kubectl explain pods.spec.containers | less
  101. 100 kubectl explain --recursive pod | less
  102. 101 kubectl -h
  103. 102 kubectl label -h
  104. 103 kubectl explain pods
  105. 104 kubectl get pods
  106. 105 kubectl get pods buysybox -o yaml > buysybox.yaml
  107. 106 vim buysybox.yaml
  108. 107 history
  109. 108 minikube status
  110. 109 sudo reboot
  111. 110 minikube start --memory 4096 --vm-driver=kvm2
  112. 111 sudo apt update
  113. 112 sudo apt upgrade
  114. 113 sudo poweroff
  115. 114 ip a
  116. 115 minikube start --memory 4096 --vm-driver=kvm2
  117. 116 minikube statys
  118. 117 minikube status
  119. 118 kubectl get all
  120. 119 cd ckad/
  121. 120 ls
  122. 121 history | grep git
  123. 122 vim sidecar.yaml
  124. 123 kubectl create -f sidecar.yaml
  125. 124 kubectl get pods
  126. 125 kubectl exec -it sidecar-pod -c sidecar /bin/bash
  127. 126 kubectl exec -it sidecar-pod -c sidecar -- /bin/bash
  128. 127 kubectl completion -h
  129. 128 source <(kubectl completion bash)
  130. 129 kubectl describe pod sidecar-pod | less
  131. 130 vim initpod.yaml
  132. 131 history
  133. 132 kubectl exec -it sidecar-pod -- /bin/bash
  134. 133 kubectl create -f initpod.yaml
  135. 134 kubectl get pods
  136. 135 kubectl describe pod init-demo | less
  137. 136 kubectl logs init-demo install
  138. 137 kubectl delete pod init-demo
  139. 138 vim initpod.yaml
  140. 139 kubectl create -f initpod.yaml \
  141. 140 kubectl create -f initpod.yaml
  142. 141 kubectl get pods
  143. 142 kubectl create -f initpod.yaml
  144. 143 vim initpod.yaml
  145. 144 kubectl create -f initpod.yaml
  146. 145 kubectl get pods
  147. 146 kubectl get events
  148. 147 kubectl get pods
  149. 148 kubectl describe pods buysybox
  150. 149 kubectl run -h | less
  151. 150 kubectl get pods
  152. 151 kubectl exec mynginx-7bf8c6db65-24bqv -- bash
  153. 152 kubectl exec -it mynginx-7bf8c6db65-24bqv -- bash
  154. 153 vim securitycontextdemo2.yaml
  155. 154 kubectl create -f securitycontextdemo2.yaml
  156. 155 kubectl get pods
  157. 156 kubectl exec -it security-context-demo -- sh
  158. 157 kubectl explain pods.spec.securitycontext
  159. 158 kubectl explain pods.spec.securityContext
  160. 159 kubectl explain --recursive pods.spec.securityContext | less
  161. 160 vim securitycontextdemo.yaml
  162. 161 kubectl create -f securitycontextdemo
  163. 162 kubectl create -f securitycontextdemo.yaml
  164. 163 kubectl get pods
  165. 164 kubectl describe pods nginxsecure
  166. 165 kubectl get pods
  167. 166 kubectl delete pod nginxsecure
  168. 167 kubectl delete pod busybox
  169. 168 kubectl delete pod buysybox
  170. 169 kubectl delete pod busyblah
  171. 170 kubectl delete pod init-dep
  172. 171 kubectl delete pod init-demo
  173. 172 kubectl delete pod sidecar-pod
  174. 173 kubectl explain jobs.spec | less
  175. 174 kubectl explain jobs.spec.template | less
  176. 175 kubectl explain jobs.spec.template.spec | less
  177. 176 vim simplejob.yaml
  178. 177 kubectl create -f simplejob.yaml
  179. 178 kubectl get all
  180. 179 kubectl delete jobs simple-job
  181. 180 vim simplejob.yaml
  182. 181 kubectl create -f simplejob.yaml
  183. 182 vim simplejob.yaml
  184. 183 kubectl create -f simplejob.yaml
  185. 184 kubectl get all
  186. 185 kubectl explain jobs.spec | less
  187. 186 ./countdown 12
  188. 187 kubectl explain cronjob.spec
  189. 188 vim cron-example.yaml
  190. 189 kubectl create -f cron-example.yaml
  191. 190 kubectl get all
  192. 191 kubectl delete cronjobs.batch hello
  193. 192 kubectl get all
  194. 193 kubectl get ns
  195. 194 kubectl get pods
  196. 195 kubectl get pods -n kube-system
  197. 196 kubectl config set-context --current --namespace=kube-system
  198. 197 kubectl get all
  199. 198 kubectl config set-context --current --namespace=default
  200. 199 kubectl get pods
  201. 200 kubectl get all --all-namespaces
  202. 201 kubectl get all -A
  203. 202 kubectl get ns
  204. 203 kubectl create ns secret
  205. 204 vim busybox-ns.yaml
  206. 205 kubectl create -f busybox-ns.yaml
  207. 206 vim busybox-ns.yaml
  208. 207 kubectl create -f busybox-ns.yaml
  209. 208 kubectl get pods -A
  210. 209 kubectl config view
  211. 210 kubectl explain pod.spec.containers.resources
  212. 211 kubectl explain pod.spec.containers.resources.limits
  213. 212 kubectl explain pod.spec.containers.resources
  214. 213 kubectl explain pod.spec.containers.resources.requests
  215. 214 kubectl api-resources | grep quota
  216. 215 kubectl create -h | less
  217. 216 kubectl create quota -h | less
  218. 217 kubectl create quota my-quota --hard=cpu=1,memory=1G,pods=2,services=3,replicationcontrollers=2,resourcequotas=1,secrets=5,persistentvolumeclaims=10 -n secret
  219. 218 kubectl describe ns secret
  220. 219 kubectl create deploy -h
  221. 220 kubectl create deploy mynginx --image=nginx -n secret
  222. 221 kubectl get all -n secret
  223. 222 kubectl describe deployments.apps mynginx -n secret
  224. 223 kubectl get all -n secret
  225. 224 kubectl describe rs mynginx-5b686ccd46 -n secret
  226. 225 kubectl get all -n secret
  227. 226 kubectl delete deploy mynginx -n secret
  228. 227 vim frontend-resources.yaml
  229. 228 kubectl create -f frontend-resources.yaml
  230. 229 kubectl get all -n secret
  231. 230 kubectl delete -f frontend-resources.yaml
  232. 231 vim frontend-resources.yaml
  233. 232 kubectl delete -f frontend-resources.yaml
  234. 233 kubectl create -f frontend-resources.yaml
  235. 234 kubectl get all -n secret
  236. 235 kubectl run newginx --image=nginx
  237. 236 kubectl get pods
  238. 237 kubectl run newginx --image=nginx -n secret
  239. 238 kubectl describe ns secret
  240. 239 history
  241. 240 kubectl delete all --all -A
  242. 241 kubectl get all -A
  243. 242 kubectl create deploy nginxblah --image=nginx
  244. 243 kubectl get deploy nginxblah -o yaml | less
  245. 244 kubectl get deploy
  246. 245 kubectl get all
  247. 246 kubectl scale deployment --replicas=3 nginxblah
  248. 247 kubectl get all
  249. 248 kubectl edit deployments.apps nginxblah
  250. 249 kubectl get all
  251. 250 kubectl delete pods nginxblah-7dc7fb8c85-p8g9w
  252. 251 kubectl get all
  253. 252 kubectl create -f redis-deploy.yaml
  254. 253 vim redis-deploy.yaml
  255. 254 kubectl api-resources | less
  256. 255 vim redis-deploy.yaml
  257. 256 kubectl create -f redis-deploy.yaml
  258. 257 kubectl get events
  259. 258 kubectl get events -h
  260. 259 ./countdown 12
  261. 260 vim rolling.yaml
  262. 261 kubectl create -f rolling.yaml
  263. 262 kubectl get pods
  264. 263 kubectl get all
  265. 264 kubectl edit deployments.apps rolling-nginx
  266. 265 kubectl get all
  267. 266 kubectl rollout -h | less
  268. 267 kubectl rollout history deployment rolling-nginx
  269. 268 kubectl rollout history deployment rolling-nginx --revision=1
  270. 269 kubectl rollout history deployment rolling-nginx --revision=2
  271. 270 kubectl rollout undo deployment rolling-nginx ; kubectl get all
  272. 271 kubectl get all
  273. 272 kubectl get all --show-labels
  274. 273 kubectl get all --selector app=nginx
  275. 274 kubectl get all --selector app=nginxblah
  276. 275 kubectl label pod nginxblah-7dc7fb8c85-mlvpk app-
  277. 276 kubectl get all --selector app=nginxblah
  278. 277 kubectl get all
  279. 278 kubectl delete pod nginxblah-7dc7fb8c85-mlvpk
  280. 279 kubectl get all
  281. 280 kubectl get pods --show-labels
  282. 281 kubectl run nakedginx --image=nginx
  283. 282 kubectl get pods --show-labels
  284. 283 kubectl get pods --selector=run
  285. 284 kubectl get pods --selector=app
  286. 285 sudo reboot
  287. 286 minikube status
  288. 287 minikube start --memory 4096 --vm-driver=kvm2
  289. 288 minikube status
  290. 289 kubectl get all -A
  291. 290 ckad/countdown 12
  292. 291 kubectl create deployment nginxsvc --image=nginx
  293. 292 kubectl scale deployment nginxsvc --replicas=3
  294. 293 kubectl completion -h
  295. 294 source <(kubectl completion bash)
  296. 295 kubectl expose deployment nginxsvc
  297. 296 kubectl expose deployment nginxsvc --port=80
  298. 297 kubectl get all --selector app=nginxsvc
  299. 298 kubectl describe svc nginxsvc
  300. 299 kubectl scale deployment nginxsvc --replicas=6
  301. 300 kubectl describe svc nginxsvc
  302. 301 kubectl get endpoints
  303. 302 kubectl describe svc nginxsvc
  304. 303 kubectl edit svc nginxsvc
  305. 304 kubectl describe svc nginxsvc
  306. 305 kubectl edit svc nginxsvc
  307. 306 kubectl describe svc nginxsvc
  308. 307 kubectl edit svc nginxsvc
  309. 308 curl 10.100.138.231
  310. 309 minikube ssh
  311. 310 kubectl edit svc nginxsvc
  312. 311 kubectl get svc
  313. 312 minikube ip
  314. 313 curl 192.168.39.56:32000
  315. 314 history
  316. 315 kubectl get pods
  317. 316 cd ckad
  318. 317 vim busybox.yaml
  319. 318 kubectl create -f busybox.yaml
  320. 319 kubectl get svc
  321. 320 kubectl exec -it busybox2 -- bash
  322. 321 kubectl exec -it busybox2 -- sh
  323. 322 minikube addons list
  324. 323 minikube addons enable ingress
  325. 324 minikube addons enable ingress-dns
  326. 325 kubectl get ns
  327. 326 kubectl get all -n ingress-nginx
  328. 327 kubectl get deploy
  329. 328 kubectl get svc nginxsvc
  330. 329 curl http://$(minikube ip):32000
  331. 330 vim nginxsvc-ingress.yaml
  332. 331 kubectl apply -f nginxsvc-ingress.yaml
  333. 332 kubectl get ingress
  334. 333 minikube ip
  335. 334 sudo vim /etc/hosts
  336. 335 curl nginxsvc.info
  337. 336 kubectl create deploy newdep --image=gcr.io/google-samples/hello-app:2.0
  338. 337 kubectl expose deployment newdep --port=8080
  339. 338 vim nginxsvc-ingress.yaml
  340. 339 curl nginxsvc.info/hello
  341. 340 history
  342. 341 sudo poweroff
  343. 342 minikube start --memory 4096 --vm-driver=kvm2
  344. 343 sudo poweroff
  345. 344 ip a
  346. 345 minikube start --memory 4096 --vm-driver=kvm2
  347. 346 source <(kubectl completion bash)
  348. 347 cd ckad/
  349. 348 vim nwpolicy-complete-example.yaml
  350. 349 kubectl apply -f nwpolicy-complete-example.yaml
  351. 350 kubectl get all
  352. 351 kubectl expose pod nginx --port=80
  353. 352 kubectl get svc
  354. 353 kubectl exec -it busybox -- wget --spider --timeout=1
  355. 354 kubectl exec -it busybox -- wget --spider --timeout=1 nginx
  356. 355 vim nwpolicy-complete-example.yaml
  357. 356 kubectl label pod busybox access=true
  358. 357 kubectl explain pod.spec.volumes | less
  359. 358 ls
  360. 359 vim morevolumes.yaml
  361. 360 kubectl create -f morevolumes.yaml
  362. 361 kubectl describe pod morevol2
  363. 362 kubectl exec -it morevol2 -c centos1 -- touch /centos1/hello
  364. 363 kubectl exec -it morevol2 -c centos2 -- ls /centos2/
  365. 364 kubectl get storageclass -A
  366. 365 kubectl explain persistenvolume
  367. 366 kubectl explain persistentvolume
  368. 367 kubectl explain persistentvolume.spec
  369. 368 kubectl explain persistentvolume.spec | less
  370. 369 ls
  371. 370 vim pv.yaml
  372. 371 kubectl create -f pv.yaml
  373. 372 kubectl get pv
  374. 373 kubectl api-resources | less
  375. 374 vim pvc.yaml
  376. 375 kubectl create -f pvc.yaml
  377. 376 kubectl get pvc
  378. 377 kubectl get pv
  379. 378 kubectl describe pv pvc-2a440be2-7904-41b3-be6f-cccf31676f38
  380. 379 vim pv-pod.yaml
  381. 380 kubectl create -f pv-pod.yaml
  382. 381 kubectl describe pod pv-pod
  383. 382 kubectl exec -it pv-pod -- touch /usr/share/nginx/html/whatever.html
  384. 383 kubectl describe pv pvc-2a440be2-7904-41b3-be6f-cccf31676f38
  385. 384 minikube ssh
  386. 385 vim pv-pvc-pod.yaml
  387. 386 kubectl create -f pv-pvc-pod.yaml
  388. 387 kubectl delete -f pv-pvc-pod.yaml
  389. 388 kubectl create ns myvol
  390. 389 kubectl create -f pv-pvc-pod.yaml
  391. 390 kubectl get all -n myvol
  392. 391 kubectl get pvc -n myvol
  393. 392 kubectl get pv
  394. 393 history
  395. 394 kubectl get pv
  396. 395 kubectl describe pv pv-volume
  397. 396 kubectl describe pv local-pv-volume
  398. 397 vim pv-pvc-pod.yaml
  399. 398 kubectl get storageclass -A
  400. 399 vim pv-pvc-pod.yaml
  401. 400 ./countdown 12
  402. 401 vim variables
  403. 402 kubectl create cm -h | less
  404. 403 kubectl create cm variables --from-env-file=variables
  405. 404 kubectl create cm novariables --from-file=variables
  406. 405 kubectl describe cm variables
  407. 406 kubectl describe cm novariables
  408. 407 vim cm-test-pod.yaml
  409. 408 kubectl create -f cm-test-pod.yaml
  410. 409 kubectl logs po/test1
  411. 410 vim cm-test-pod.yaml
  412. 411 kubectl create deploy -h | less
  413. 412 kubectl create deploy newsql --image=mysql
  414. 413 kubectl get all --selector app=newsql
  415. 414 kubectl describe pod newsql-7454bf699d-h24gn
  416. 415 kubectl logs newsql-7454bf699d-h24gn
  417. 416 kubectl create cm newsqlvars --from-literal=MYSQL_ROOT_PASSWORD=password
  418. 417 kubectl describe cm newsqlvars
  419. 418 kubectl set -h | less
  420. 419 kubectl set env -h | less
  421. 420 #kubectl set env --from=configmap/myconfigmap --prefix=MYSQL_ deployment/myapp
  422. 421 kubectl get cm
  423. 422 kubectl get deploy
  424. 423 kubectl set env --from=configmap/newsqlvars deployment/newsql
  425. 424 kubectl get all --selector app=newsql
  426. 425 history
  427. 426 cat nginx-custom-config.conf
  428. 427 kubectl create cm nginx-cm --from-file nginx-custom-config.conf
  429. 428 kubectl describe cm nginx-cm
  430. 429 vim nginx-cm.yml
  431. 430 kubectl create -f nginx-cm.yml
  432. 431 kubectl exec -it nginx-cm /bin/bash
  433. 432 kubectl set volume -h | less
  434. 433 kubectl describe pods test1
  435. 434 kubectl create secret -h | less
  436. 435 kubectl create secret generic -h | less
  437. 436 #kubectl create secret generic my-secret --from-file=ssh-private-key=/home/student/.ssh/id_rsa --from-literal=passphrase=password
  438. 437 ssh-keygen
  439. 438 kubectl create secret generic my-secret --from-file=ssh-private-key=/home/student/.ssh/id_rsa --from-literal=passphrase=password
  440. 439 kubectl describe secrets my-secret
  441. 440 kubectl get secret my-secret -o yaml
  442. 441 echo cGFzc3dvcmQ= | base64 -d
  443. 442 kubectl create secret generic secretstuff --from-literal=password=password --from-literal=user=linda
  444. 443 less pod-secret.yaml
  445. 444 kubectl create -f pod-secret.yaml
  446. 445 kubectl describe pod secretbox2
  447. 446 kubectl exec -it secretbox2 -- /bin/sh
  448. 447 kubectl create secret generic mysql --from-literal=password=root
  449. 448 kubectl get secrets mysql -o yaml
  450. 449 vim pod-secret-as-var.yaml
  451. 450 kubectl create -f pod-secret-as-var.yaml
  452. 451 kubectl get pods
  453. 452 kubectl exec -it mymysql -- env
  454. 453 ./countdown 13
  455. 454 vim mypod.yaml
  456. 455 kubectl create -f mypod.yaml
  457. 456 kubectl get pods mypod -o yaml | less
  458. 457 kubectl exec -it mypod -- sh
  459. 458 vim mysa.yaml
  460. 459 kubectl create -f mysa.yaml
  461. 460 vim list-pods.yaml
  462. 461 kubectl create -f list-pods.yaml
  463. 462 vim list-pods-mysa-binding.yaml
  464. 463 kubectl create -f list-pods-mysa-binding.yaml
  465. 464 kubectl set -h | less
  466. 465 vim mysapod.yaml
  467. 466 kubectl create -f mysapod.yaml
  468. 467 kubectl exec -it mysapod -- sh
  469. 468 kubectl delete -f cm-test-pod.yaml
  470. 469 kubectl get cm
  471. 470 vim cm-test-pod.yaml
  472. 471 kubectl delete cm variables
  473. 472 vim cm-test-pod.yaml
  474. 473 kubectl create cm variables --from-file=variables
  475. 474 kubectl create -f cm-test-pod.yaml
  476. 475 kubectl get pods
  477. 476 kubectl describe pods test1
  478. 477 kubectl logs test1
  479. 478 kubectl edit pods test1
  480. 479 kubectl delete -f cm-test-pod.yaml
  481. 480 vim cm-test-pod.yaml
  482. 481 kubectl create -f cm-test-pod.yaml
  483. 482 kubectl get pods
  484. 483 kubectl get endpoints
  485. 484 ./countdown 12
  486. 485 vim busybox-ready.yaml
  487. 486 kubectl create -f busybox-ready.yaml
  488. 487 kubectl get pods
  489. 488 kubectl describe pods busybox-ready
  490. 489 kubectl exec -it busybox-ready -- /bin/sh
  491. 490 kubectl get pods
  492. 491 vim nginx-probes.yaml
  493. 492 kubectl create -f nginx-probes.yaml
  494. 493 kubectl get pods nginx-probes
  495. 494 wget https://get.helm.sh/helm-v3.0.0-linux-amd64.tar.gz
  496. 495 ls
  497. 496 tar xvf helm-v3.0.0-linux-amd64.tar.gz
  498. 497 sudo cp linux-amd64/helm /usr/local/bin/
  499. 498 helm search hub database
  500. 499 helm repo add myrepo https://kubernetes-charts.storage.googleapis.com
  501. 500 helm repo update
  502. 501 helm repo add myrepo https://kubernetes-charts.storage.googleapis.io
  503. 502 helm repo add stable https://charts.helm.sh/stable
  504. 503 helm repo update
  505. 504 helm list
  506. 505 helm install example-mysql stable/mysql
  507. 506 helm list
  508. 507 ls
  509. 508 kubectl get all | grep mysql
  510. 509 git clone https://github.com/sandervanvugt/devopsinfourweeks
  511. 510 cd devopsinfourweeks/
  512. 511 ls
  513. 512 cd my-ghost-app/
  514. 513 ls
  515. 514 cat Chart.yaml
  516. 515 cat templates/deployment.yaml
  517. 516 cat values.yaml
  518. 517 helm templates --debug .
  519. 518 helm template --debug .
  520. 519 helm install -f ./values.yaml my-ghost-app ./
  521. 520 kubectl get all | grep ghost
  522. 521 kubectl api-resources | grep templa
  523. 522 history
  524.  
Add Comment
Please, Sign In to add comment