Рет қаралды 361
Dockerfile
securityContext
resourceQuota at Namespace
My website: devops-wala.com/
You can also support me from Paypal account.
Paypal link : paypal.me/anishrana20011
You can download the PPT from below link.
Github: github.com/anishrana2001/CKAD
Questions:
A Dockerfile is created on /datadir/Dockerfile for you. You need to create built an image with the name ubuntu-apache and tag 3.0 from this Dockerfile. You may install and use the tool of your choice.
2. Using the tool of your choice export the built container image in OC-format and store it on /data1/ubuntu-apache-3.0.tar
There is one deployment "resource-deploy" is running under namespace "ns-quota1". You need to set resource request (memory) half of the max memory assigned to the namespace.
There is one deployment "security-deploy" is running under namespace "ckad0021". You need to set securityContext user with 1000, forbid allowPrivillegedescalation.
How to add securitycontext in Deployment