Ckad-mock-1 (q19)

I don’t really understand the question. Can anyone help me to understand the question?

I created the readinessProbe like below:

readinessProbe:
initialDelaySeconds: 15
httpGet:
path: /ready
port: 8080

The result of this question is evaluated as Wrong. After I added “periodSeconds: 5” then it evaluated as Correct. But in the question there is no requirement to add periodSeconds.

I just tried Q19, and the grader accepted my answer, which does NOT use periodSeconds (which wouldn’t make much sense for a readinessProbe in any case:):

  containers:
  - image: kodekloud/webapp-delayed-start
    imagePullPolicy: Always
    name: simple-webapp
    ports:
    - containerPort: 8080
      protocol: TCP
    readinessProbe:
      httpGet:
        path: /ready
        port: 8080
      initialDelaySeconds: 15

    resources: {}

1 Like