Created
January 20, 2024 22:43
-
-
Save YurgenUA/62435fd0dc2eed42ac158da59500be12 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kubectl config use-context vaultcluster | |
>>Switched to context "vaultcluster". | |
kubectl get pods | |
>>NAME READY STATUS RESTARTS AGE | |
>>vault-0 1/1 Running 0 1h | |
>>vault-1 1/1 Running 0 1h | |
>>vault-2 1/1 Running 0 1h | |
>>vault-agent-injector-5d85ff9d44-kwhc8 1/1 Running 0 1h | |
kubectl exec --stdin=true --tty=true vault-0 -- /bin/sh | |
>>/ $ vault login | |
>>Token (will be hidden): | |
>>Success! You are now authenticated. | |
>>... | |
/ $ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment