You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Output of stern -n pizzahat pod/quarkus-operator-example-...
Investigation
I believe the URL is incorrect. More specifically, the authorization header should be included (or fixed somewhere in the Pizza Operator code), and v1beta1 should be v1.
Here are my steps for arriving at that conclusion:
Slightly modify apps/pizzas/pizza-deployment. I override the container's entrypoint so that I can get a shell:
From inside the container, I curl the Kubernetes API.
Reproduction Steps
I followed these steps in the Operators tutorial:
Output of
kubectl get pods -n pizzahat
Output of
kubectl describe pod
To get more information, I
tail
ed the pod.Output of
stern -n pizzahat pod/quarkus-operator-example-...
Investigation
I believe the URL is incorrect. More specifically, the authorization header should be included (or fixed somewhere in the Pizza Operator code), and
v1beta1
should bev1
.Here are my steps for arriving at that conclusion:
Slightly modify
apps/pizzas/pizza-deployment
. I override the container's entrypoint so that I can get a shell:From inside the container, I
curl
the Kubernetes API.I executed the following commands:
KUBE_TOKEN=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token)
curl -sSk -H "Authorization: Bearer $KUBE_TOKEN" https://10.152.183.1:443/apis/apiextensions.k8s.io/v1/customresourcedefinitions
This works.
The text was updated successfully, but these errors were encountered: