hi @salilpune1, did it fail for you ?
@rahul456 actually I think I know the problem I think the question asked me about redis image if I am not wrong. unfortunately haven’t captured screen the question and the pod template from what I submitted. would still appreciate if you can check and verify? thank you heaps!
Nope… It worked. Thanks.
Can anyone please check below task. It was completed but still show failed.
Environment Variables in Kubernetes
When i tried first time it show image as redis. So I tried with same image. Kindly let me know whether i can get one more chance.
Hi @rahul456 @Inderpreet @kodekloud-support3
my task was print Print Environment Variables
before pressing finish button i have to know where its went wrong
my pod template is
apiVersion: v1
kind: Pod
metadata:
name: print-envars-greeting
spec:
containers:
- name: print-env-container
image: bash
env:- name: GREETING
value: “Welcome to” - name: COMPANY
value: “Dev0ps” - name: GROUP
value: “Industries”
command: [“echo”]
args: [“$(GREETING) $(COMPANY) $(GROUP)”]
- name: GREETING
after creating pod , i am getting pod status as CrashLoopBackOff , where i had done wrong in pd template, please check my pod template and tell me the issue where i had done wrong before pressing finish button, i am waiting for replay
Thanks #player001 , I missed the $ sign , after giving $ sign to environmental variables also I am getting same issue, can please check it, and rectify my issue
Can you share the error output ? Define ${GREETING}
like.
My Task failed. But i think is correct. Please Advise
Thanks for your prompt response.
I give it another try. It’s failed again but now because i misspelled the Word Devops instaed of “DevOps”