January 2018
Intermediate to advanced
318 pages
7h 6m
English
Again, the next pod we are deploying is going to be a StatefulSet rather than a deployment. Before we deploy the pod we need to make a slight change to the kubernetes/invoker/invoker.yml file. This is because, by default, OpenWhisk assumes you are running Ubuntu as your base operating system, which Google Cloud isn't.
To do this, open kubernetes/invoker/invoker.yml in your text editor of choice and remove the following block of code:
- name: apparmor hostPath: path: "/usr/lib/x86_64-linux-gnu/libapparmor.so.1"
There is also another reference to apparmor we need to remove. This time it is towards the bottom of the file:
- name: apparmor mountPath: "/usr/lib/x86_64-linux-gnu/libapparmor.so.1"
Once the two code blocks that reference ...
Read now
Unlock full access