Problem
System token has expired so Okera cluster is not functioning
Answer
Earlier documention using okctl has been deprecated. Follow the documentation found here. To summarize:
- Generate a value JWT.
- Directly update the system token data in the proper Okera secret.
- Restart all pods to ensure the new token is used
Alternatively, use the native Kubernetes tools to update the system token on the running cluster:
$ kubectl patch secrets secrets --type json --patch "[{\"op\": \"replace\", \"path\": \"/data/SYSTEM_TOKEN_0\", \"value\": \"$(cat system.token | base64 -w 0)\"}]"
$ kubectl delete pods --all --force --grace-period=0
Of note here is that you need to use base64 -w 0
to ensure the encoded token data is a single line string.
Comments
0 comments
Please sign in to leave a comment.