exam questions

Exam CKA All Questions

View all questions & answers for the CKA exam

Exam CKA topic 1 question 10 discussion

Actual exam question from CNCF's CKA
Question #: 10
Topic #: 1
[All CKA Questions]

SIMULATION -


Task -
Schedule a Pod as follows:
✑ Name: kucc8
✑ App Containers: 2
✑ Container Name/Images:
- nginx
- consul

Show Suggested Answer Hide Answer
Suggested Answer:






Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sejar
Highly Voted 1 year ago
hashicorp/consul:latest seems the latest image
upvoted 12 times
...
caco0516
Highly Voted 1 year, 1 month ago
Got this error with consul image : image "consul": rpc error: code = NotFound desc = failed to pull and unpack image "docker.io/library/consul:latest": failed to resolve reference "docker.io/library/consul:latest": docker.io/library/consul:latest: not found Warning Failed 12s (x2 over 27s) kubelet Error: ErrImagePull Normal BackOff 0s (x2 over 27s) kubelet Back-off pulling image "consul" Warning Failed 0s (x2 over 27s) kubelet Error: ImagePullBackOff
upvoted 6 times
...
noahsark
Most Recent 1 month, 3 weeks ago
killer_sh_lab: k run kucc8 --image=nginx --dry-run -o=yaml > app2.yml # edit apiVersion: v1 kind: Pod metadata: labels: run: kucc8 name: kucc8 spec: containers: - image: nginx name: nginx - image: hashicorp/consul:latest name: consul k apply -f app2.yml
upvoted 1 times
...
cp2323
1 year ago
yeah getting error with consul image, guessing this is quite old question
upvoted 1 times
...
namesgeo
1 year, 1 month ago
kubectl run kucc8 --image=nginx --dry-run=client > kucc8.yml -------------- vim kucc8.yml like this --------------- apiVersion: v1 kind: Pod metadata: name: kucc8 spec: containers: - name: nginx image: nginx - name: consul image: consul ------------------- kubectl create -f kucc8.yml
upvoted 4 times
...
bp339
1 year, 6 months ago
apiVersion: v1 kind: Pod metadata: name: kucc8 spec: containers: - name: nginx image: nginx - name: consul image: consul
upvoted 3 times
...
mrallrounder123453656
1 year, 7 months ago
apiVersion: v1 kind: Pod metadata: creationTimestamp: null labels: run: kucc8 name: kucc8 spec: containers: - image: nginx name: kucc8 - image: consul name: consul
upvoted 2 times
sonixrw
1 year, 6 months ago
- image: nginx name: nginx
upvoted 2 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago