Re: [kubernetes-users] pod crashes when secuityContext used.

2018-02-02 Thread 'Tim Hockin' via Kubernetes user discussion and Q
It looks like that file is not readable by a non-root user. You're volunteering to lower your privileges, but you need to account for that in the image. If this is a custom image, chmod ugo+r that file? If it is a pre-built image, yell at whoever built it. On Fri, Feb 2, 2018 at 9:52 AM, R

[kubernetes-users] pod crashes when secuityContext used.

2018-02-02 Thread R Melton
using kubectl v1.9 on client and server. ubuntu 16.04 server on GCP. I was trying to follow the demo listed on https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ which assigns a security context to a pod when it is created. Pod yaml file is: apiVersion: v1kind: