Font size
Worksheetsk8s-1
Total questions: 10
Worksheet time: 8mins
What types of applications can Kubernetes run?
Anything that can run on Linux
backend APIs
Batch Jobs
Web frontend
Which Linux technologies should be utilized to run a production-grade containerization system?
Control daemons running with elevated privileges
Namespaces
Additional security mechanism (SELinux, seccomp, etc.)
cgroups
Which kubectl command will switch the current context to a different one?
kubectl config get-contexts
kubectl config set-context mycontext
kubectl config use-context mycontext
kubectl set-context mycontext
How is authentication to Kubernetes cluster performed at Linker Cloud?
With OpenID Connect token, obtained from Keycloak
With a dedicated user name and password
With a X.509 certificate
With a bearer token, obtained via AWS
Can Kubernetes build a container image?
Yes, with built-in functionality
No
Yes, with 3rd-party tools or a custom solution
What is the purpose of YAML representation of a Kubernetes resource?
kubectl needs to parse it, and translate to use methods and attributes used by Kubernetes API
kubectl converts YAML into JSON and sends as-is to appropriate Kubernetes API
kubectl uploads YAML as a file to Kubernetes master, where it is parsed
A Pod is:
a concept specific to podman
made of one or more containers
made of exactly one container
smallest deployable computing unit in Kubernetes
A ConfigMap resource can be consumed by the application running in a Pod, in the following way:
Environment variables created from ConfigMap keys
By issuing a request to Kubernetes API within the cluster
With files stored in the container image during image build
With files created in configuration volume, from ConfigMap keys
A command can be executed in a running Kubernetes Pod, using:
kubectl exec podname -- command
kubectl exec podname -c command
docker exec command
kubectl run podname command
I have Kubernetes problems and I am strongly convinced these problems are not between keyboard and chair. Where should I ask questions?
Direct message to rkujawa
On #linker-general-internal channel
Direct message to dkierdal
On #kubernetes channel
