Events: Type Reason Age From Message ---- ------ ---- ---- ------- Warning FailedCreate 7s (x12 over 17s) statefulset-controller create Pod testing in StatefulSet testing failed error: Pod "testing" is invalid: [spec.initContainers[0].securityContext.privileged: Forbidden: disallowed by cluster policy, spec.initContainers[1].securityContext.privileged: Forbidden: disallowed by cluster policy]
TKGI
Allow Privileged option is not enabled by default in TKGI.You can apply the following steps :-
1) Login to Ops Manager UI and go to TKGI tile --> Plan X --> Enable "Allow Privileged" option.
2) Click save. Do this for all Plans where you wish to enable this.
3) Review pending changes and run apply changes against TKGI. Upgrading the cluster either with the errand or tkgi upgrade-cluster command will persist the change.