Replies: 4 comments
-
Hi @vvarga007, thanks for asking your question here. That error is normal on clusters that were not created using kubeadm or similar tooling. Pinniped wants to get the URL of the Kubetnetes API Server for external (outside the cluster) clients to use, so it can advertise it to It might be possible to manually create that configmap to allow the Concierge to get a little further. It would need to contain the When that strategy does not work, then the Pinniped Concierge will use the alternate strategy, which is the impersonation proxy. This will open up a port on the cluster where clients can connect to the Pinniped Concierge, authenticate, and then their Kubernetes API requests will be proxied to the actual Kubernetes API server with their identities attached. It looks like that might be the way to go on this Kubernetes distribution. Is that working for you? |
Beta Was this translation helpful? Give feedback.
-
By the way, here is an example configmap, in case you want to try creating one to see if that makes it work: apiVersion: v1
kind: ConfigMap
metadata:
name: cluster-info
namespace: kube-public
data:
kubeconfig: |
apiVersion: v1
kind: Config
clusters:
- cluster:
# fill this in with the real CA bundle of the Kube API server, base64 encoded
certificate-authority-data: LS0t...
# fill this in with the real externally available address of the Kube API server
server: https://kube-api.server.example.com:6443
name: ""
contexts: null
current-context: ""
preferences: {}
users: null |
Beta Was this translation helpful? Give feedback.
-
Thanks; I will give it a try. But before that, I tried to implement Pinniped without the concierge, as I could freely change the Kube API parameters. For some reason, this also doesn't work.
But the kubectl using the pinniped config throws the following error:
kubelogin works fine with the same settings. So, it must be a pinniped misconfiguration. Any idea what could be the issue here |
Beta Was this translation helpful? Give feedback.
-
It sounds like you were following this doc? https://pinniped.dev/docs/tutorials/supervisor-without-concierge-demo/ Maybe check the logs of the Kubernetes API Server to see if there is any message at the same timestamp which explains why it did not accept the JWT as authorization. |
Beta Was this translation helpful? Give feedback.
-
Hi
Based on the documentation concierge does not support RKE2.
I am trying to set this up on RKE2, but the concierge throws the following error:
Beta Was this translation helpful? Give feedback.
All reactions