Difference between revisions of "CKA v1.15: Create & consume Secrets"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
|||
Line 4: | Line 4: | ||
* <code>[[kubectl get secrets]]</code> | * <code>[[kubectl get secrets]]</code> | ||
* <code>[[kubectl describe]] secrets/MY_SECRET_NAME</code> | * <code>[[kubectl describe]] secrets/MY_SECRET_NAME</code> | ||
− | * <code>[[kubectl apply]] -f ./secret. | + | * <code>[[kubectl apply]] -f ./[[secret.yml]]</code> |
* <code>[[kubectl apply]] -k</code> | * <code>[[kubectl apply]] -k</code> | ||
* <code>[[kubectl edit secrets]]</code> | * <code>[[kubectl edit secrets]]</code> |
Revision as of 11:58, 19 April 2020
kubectl create secret
kubectl get secret
kubectl get secrets
kubectl describe secrets/MY_SECRET_NAME
kubectl apply -f ./secret.yml
kubectl apply -k
kubectl edit secrets
See also
Advertising: