wonpick
devvon
wonpick
๋ฐฉ๋ฌธ์ž๐ŸŒฑ
์˜ค๋Š˜
์–ด์ œ
  • ๋ถ„๋ฅ˜ ์ „์ฒด๋ณด๊ธฐ (146)
    • ๊ฐœ๋ฐœ (42)
      • Spark (7)
      • Hadoop (3)
      • ML&DL (4)
      • Paper Review (0)
      • ETC (24)
    • STUDY (77)
      • Data Engineering (54)
      • Cloud (4)
      • Algorithm (5)
      • SQL (10)
      • Toy Project (1)
    • Android (2)
    • Backend (14)
    • ์ธํ„ด (0)
    • ๊ณต๋ชจ์ „ (0)

๋ธ”๋กœ๊ทธ ๋ฉ”๋‰ด

  • ํ™ˆ
  • ํƒœ๊ทธ
  • ๋ฐฉ๋ช…๋ก

์ธ๊ธฐ ๊ธ€

ํƒœ๊ทธ

  • ์ตœ์‹  ๋ฐ์ดํ„ฐ ์ธํ”„๋ผ ์ดํ•ดํ•˜๊ธฐ #7
  • ์ตœ์‹  ๋ฐ์ดํ„ฐ ์ธํ”„๋ผ ์ดํ•ดํ•˜๊ธฐ
  • ์ฟ ๋ฒ„๋„คํ‹ฐ์Šค
  • ์ž์—ฐ์–ด์ฒ˜๋ฆฌ
  • Python
  • kodekloud
  • cka
  • SQL
  • ์ธํ„ด๊ฐ•์—ฐ
  • ๋ฐ์ดํ„ฐ์—”์ง€๋‹ˆ์–ด๋ง

์ตœ๊ทผ ๋Œ“๊ธ€

์ตœ๊ทผ ๊ธ€

ํ‹ฐ์Šคํ† ๋ฆฌ

Designed By.hELLO
wonpick

devvon

[kodekloud] 04 Commands and Arguments ํ’€์ด (์‚ด์ง๐Ÿ˜ต‍๐Ÿ’ซ)
STUDY/Data Engineering

[kodekloud] 04 Commands and Arguments ํ’€์ด (์‚ด์ง๐Ÿ˜ต‍๐Ÿ’ซ)

2023. 1. 24. 17:59
Q1. How many PODs exist on the system?

1

Q2.  What is the command used to run the pod ubuntu-sleeper?

sleep 4800

Q3. Create a pod with the ubuntu image to run a container to sleep for 5000 seconds. Modify the file ubuntu-sleeper-2.yaml.

 

Q4. Create a pod using the file named ubuntu-sleeper-3.yaml. There is something wrong with it. Try to fix it!
  • Pod Name: ubuntu-sleeper-3
    Command: sleep 1200

 vi ubuntu-sleeper-3.yaml
 k apply -f ubuntu-sleeper-3.yaml

sleep๊ณผ 1200๋ชจ๋‘ ์ŠคํŠธ๋ง์ด์–ด์•ผ ํ•œ๋‹ค.

 

Q5. Update pod ubuntu-sleeper-3 to sleep for 2000 seconds.
Note: Only make the necessary changes. Do not modify the name of the pod. Delete and recreate the pod if
k edit pod ubuntu-sleeper-3 
k replace --force -f /tmp/kubectl-edit-2969321229.yaml

 

Q6. Inspect the file Dockerfile given at /root/webapp-color directory. What command is run at container startup?

python app.py

Q7. Inspect the file Dockerfile2 given at /root/webapp-color directory. What command is run at container startup?

 

Q8. Inspect the two files under directory webapp-color-2. What command is run at container startup?
cat webapp-color-2/webapp-color-pod.yaml

Q9. Inspect the two files under directory webapp-color-3. What command is run at container startup?

 

Q10.  Create a pod with the given specifications. By default it displays a blue background. Set the given command line arguments to change it to green.
kubectl run webapp-green --image=kodekloud/webapp-color -- --color green

 kubectl run NAME --image=image [--env="key=value"] [--port=port] [--dry-run=server|client] [--overrides=inline-json] [--command] -- [COMMAND] [args...] [options]

'STUDY > Data Engineering' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๋‹ค๋ฅธ ๊ธ€

17. CKA udemy ๊ฐ•์˜ ์ •๋ฆฌ - Section 10 [Desing and install a Kubernetes Cluster]  (0) 2023.01.28
16. CKA udemy ๊ฐ•์˜ ์ •๋ฆฌ - Section 9 [Networking]  (0) 2023.01.25
[kodekloud] 04 Rolling Updates and Rollbacks ํ’€์ด  (0) 2023.01.24
[kodekloud] 03 Managing Application Logs ํ’€์ด  (0) 2023.01.24
[kodekloud] 03 Monitor Cluster Components ํ’€์ด  (0) 2023.01.24
    wonpick
    wonpick

    ํ‹ฐ์Šคํ† ๋ฆฌํˆด๋ฐ”