Created
July 7, 2020 13:33
-
-
Save bharatmicrosystems/05c77f15930c1c196dda7e8c8cd0e950 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 get rs nginx-priv-545c8557d5 | |
| NAME DESIRED CURRENT READY AGE | |
| nginx-priv-545c8557d5 1 0 0 88s | |
| $ kubectl describe rs nginx-priv-545c8557d5|tail | |
| Conditions: | |
| Type Status Reason | |
| ---- ------ ------ | |
| ReplicaFailure True FailedCreate | |
| Events: | |
| Type Reason Age From Message | |
| ---- ------ ---- ---- ------- | |
| Warning FailedCreate 39s (x15 over 2m1s) replicaset-controller Error creating: pods "nginx-priv-545c8557d5-" is forbidden: unable to validate against any pod security policy: [spec.containers[0].securityContext.privileged: Invalid value: true: Privileged containers are not allowed] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment