Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
This course serves as an introduction to Kubernetes operators. Operators are a design pattern for building and deploying an application onto a Kubernetes cluster such that it can be used in the same manner as core Kubernetes resources.
It covers the internal architecture of operators and how they fit into the larger Kubernetes ecosystem, as well as how to build basic operators using Operator-sdk. Operator-sdk is a command line tool for scaffolding operators, generating the code skeleton and Kubernetes yaml needed to deploy the operator.
This course is of interest to anyone who wants to learn how to deploy and manage applications on Kubernetes using a more Kubernetes-native style, such as Kubernetes application devlopers, architects, or operators. It is also of interest to consumers of Kubernetes applications users interested in learning how some of the applications they use work internalally. It features hands-on labs that have you constructing and deploying real operators on a live Kubernetes cluster.
Module 1 – Introduction to Operators
Question: How does a user interact with an operator?
Question: What does the command “operator-sdk init” do?
Question: There is one architecture pattern that all operators follow.
Question: How was the Memcached operator added to the cluster?
Question: What is the controller of our memcached operator responsible for?
Module 2 – Helm Operators
Question: The Spec fields of our Custom Resource directly correlate to what part of the original Helm chart?
Question: Helm operators allow a fine degree of control over the reconciliation of your operator.
Question: What sets the suffix for any API groups the Helm operator will create or use?
Question: In the Kubernetes API, what is an API group?
Question: The Helm operator controller we used was an off-the-shelf image that required no additional configuration.
Module 3 – Ansible Operators
Question: What does an Ansible Role consist of?
Question: Why should you fill out the Custom Resource Definition in an Ansible operator?
Question: The ansible-operator controller automatically populates the Kubernetes status of Custom Resource objects with the Ansible status of the Ansible object.
Question: What is the name of the file that configures the Ansible Role?
Question: What of the following commands can be used to generate an Ansible Role?
Final Exam
Question: Operators always consist of a Custom Resource Definition and a controller.
Question: When creating an operator with Operator-sdk, what does setting the domain do?
Question: In an Ansible operator, what is the actual source of truth for the behavior of our Memcached Custom Resource?
Question: Why is creating new RBAC rules is required for an operator?
Question: Which of the following initializes the basic scaffolding for a brand new operator?
Question: For a Golang operator, in types.go, MemcachedSpec and MemcachedStatus correspond directly with the Spec and Status of the resulting memcached Custom Resource.
Question: Which component of the Golang operator is responsible for the new memcached type?
Question: What does the following operator-sdk command do: “operator-sdk create api –kind Memcached –controller=true”
Question: Golang operator controllers are based on a community image maintained by the operator-sdk community.
Question: >> How were the operators in the module added to the Kubernetes cluster?
Question: When is a Helm operator a good choice over other operator types?
Question: In the Ansible operator, what is the name of Ansible resource that is a collection tasks and related scaffolding such as scriptts and environment variables?
Question: A Kubernetes user can only interact with resources from operators with special tools designed specifically for that operator.
Question: How can an operator be deployed to a Kubernetes cluster?
Question: To write a Helm operator, you must create a new Helm chart.
We hope you know the correct answers to Kubernetes Operators Intermediate If Queslers helped you to find out the correct answers then make sure to bookmark our site for more Course Quiz Answers.
If the options are not the same then make sure to let us know by leaving it in the comments below.
In our experience, we suggest you enroll in this and gain some new skills from Professionals completely free and we assure you will be worth it.
This course is available on Cognitive Class for free, if you are stuck anywhere between quiz or graded assessment quiz, just visit Queslers to get all Quiz Answers and Coding Solutions.
More Courses Quiz Answers >>
Building Cloud Native and Multicloud Applications Quiz Answers
Accelerating Deep Learning with GPUs Quiz Answers
Blockchain Essentials Cognitive Class Quiz Answers
Deep Learning Fundamentals Cognitive Class Quiz Answers
Hadoop 101 Cognitive Class Answers