diff --git a/Task2/secret-pod/imperative_kubernetes_cmd.md b/Task2/secret-pod/imperative_kubernetes_cmd.md index 45b3f69..3a20248 100644 --- a/Task2/secret-pod/imperative_kubernetes_cmd.md +++ b/Task2/secret-pod/imperative_kubernetes_cmd.md @@ -1,7 +1,7 @@ Task is to create a Secret and consume the Secret in a Pod using environment variables -#Solution +# Solution Create a secret and add value to the key @@ -49,7 +49,7 @@ type: Opaque Check by decoding the secret ```shell -echo "dmFsdWUx" | decode64 -d +echo "dmFsdWUx" | base64 -d ``` Create a Pod definition using run cmd diff --git a/Task5/imperative_kubernetes_cmd.md b/Task5/imperative_kubernetes_cmd.md index 685ccf8..47fe16c 100644 --- a/Task5/imperative_kubernetes_cmd.md +++ b/Task5/imperative_kubernetes_cmd.md @@ -14,10 +14,10 @@ Create a ServiceAccount kubectl create serviceaccount app-service -n ns-prd ``` -Create a Pod +Create a Deployment ```shell -kubectl run app --image=nginx --restart=Always -n ns-prd +kubectl create deployment app --image=nginx --restart=Always -n ns-prd ``` Get all the namespace @@ -36,4 +36,4 @@ Verify the result ```shell kubectl -n ns-prd describe deployments app | grep -i service -``` \ No newline at end of file +```