Skip to content

SecurityContext.RunAsUser is forbidden when deploying BookInfo sample app on K8 #324

@wjimenez5271

Description

@wjimenez5271

I'm trying to deploy the sample BookInfo app on K8. I followed the istio installation instructions here: https://istio.io/docs/tasks/installing-istio.html, using the alpha version of rbac, and opting for the version without auth (install/kubernetes/istio.yaml). All the istio services come up without issues, including grafana and prometheus, but for the BookInfo apps the pods report the following error:

Error creating: pods "" is forbidden: SecurityContext.RunAsUser is forbidden

And fail to deploy. Here are my version details:

Client Version: version.Info{Major:"1", Minor:"5", GitVersion:"v1.5.4", GitCommit:"7243c69eb523aa4377bce883e7c0dd76b84709a1", GitTreeState:"clean", BuildDate:"2017-03-08T02:50:34Z", GoVersion:"go1.8", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"5+", GitVersion:"v1.5.4-rancher1", GitCommit:"6ed2b64b2e1df9637661077d877a0483c58a6ae5", GitTreeState:"clean", BuildDate:"2017-03-17T16:58:04Z", GoVersion:"go1.7.4", Compiler:"gc", Platform:"linux/amd64"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions