Skip to content

Commit 598bda1

Browse files
author
abregman
committed
2 parents 91cdeed + 573fef6 commit 598bda1

File tree

1 file changed

+141
-1
lines changed

1 file changed

+141
-1
lines changed

README.md

Lines changed: 141 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4468,7 +4468,7 @@ More on this topic [here](https://kubernetes.io/docs/concepts/services-networkin
44684468
</b></details>
44694469

44704470
<details>
4471-
<summary>What services types are there?</summary><br><b>
4471+
<summary>What services types are there?</summary><br><b>
44724472
</b></details>
44734473

44744474
<details>
@@ -4479,6 +4479,47 @@ More on this topic [here](https://kubernetes.io/docs/concepts/services-networkin
44794479
<summary>Explain Readiness probe</summary><br><b>
44804480
</b></details>
44814481

4482+
<details>
4483+
<summary>What does being cloud-native mean?</summary><br><b>
4484+
</b></details>
4485+
4486+
<details>
4487+
<summary>Explain the pet and cattle approach of infrastructure with respect to kubernetes</summary><br><b>
4488+
</b></details>
4489+
4490+
<details>
4491+
<summary>Describe how you one proceeds to run a containerised web app in K8s, which should be reachable from a public URL.</summary><br><b>
4492+
</b></details>
4493+
4494+
<details>
4495+
<summary>How would you troubleshoot your cluster if some applications are not reachable any more?</summary><br><b>
4496+
</b></details>
4497+
4498+
<details>
4499+
<summary>Describe what CustomResourceDefinitions there are in the Kubernetes world? What they can be used for?<summary><br><b>
4500+
</b></details>
4501+
4502+
<details>
4503+
<summary>What is RBAC?</summary><br><b>
4504+
</b></details>
4505+
4506+
#### Scheduling
4507+
4508+
<details>
4509+
<summary> How does scheduling work in kubernetes?</summary><br><b>
4510+
4511+
The control plane component kube-scheduler asks the following questions,
4512+
1. What to schedule? It tries to understand the pod-definition specifications
4513+
2. Which node to schedule? It tries to determine the best node with available resources to spin a pod
4514+
3. Binds the Pod to a given node
4515+
4516+
View more [here](https://www.youtube.com/watch?v=rDCWxkvPlAw)
4517+
</b></details>
4518+
4519+
<details>
4520+
<summary> How are labels and selectors used?</summary><br><b>
4521+
</b></details>
4522+
44824523
#### Kubernetes Commands
44834524

44844525
<details>
@@ -7575,6 +7616,105 @@ startap-script
75757616
<summary>What the following commands does? `gcloud deployment-manager deployments create`</summary><br><b>
75767617
</b></details>
75777618

7619+
### Google Kubernetes Engine (GKE)
7620+
7621+
<details>
7622+
<summary>What is GKE</summary><br><b>
7623+
7624+
* It is the managed kubernetes service on GCP for deploying, managing and scaling containerised applications using Google infrastructure.
7625+
</b></details>
7626+
7627+
### Anthos
7628+
7629+
<details>
7630+
<summary>What is Anthos</summary><br><b>
7631+
It is a managed application platform for organisations like enterprises that require quick modernisation and certain levels
7632+
of consistency for their legacy applications in a hybrid or multicloud world. From this explanation the core ideas can be drawn from these statements;
7633+
7634+
* Managed -> the customer does not need to worry about the underlying software intergrations, they just enable the API.
7635+
* application platform -> It consists of open source tools like K8s, Knative, Istio and Tekton
7636+
* Enterprises -> these are usually organisations with complex needs
7637+
* Consistency -> to have the same policies declaratively initiated to be run anywhere securely e.g on-prem, GCP or other-clouds (AWS or Azure)
7638+
</b></details>
7639+
7640+
<details>
7641+
<summary>List the technical components that make up Anthos</summary><br><b>
7642+
7643+
* Infrastructure management - Google Kubernetes Engine (GKE)
7644+
* Cluster management - GKE, Ingress for Anthos
7645+
* Service management - Anthos Service Mesh
7646+
* Policy enforcement - Anthos Config Management, Anthos Enterprise Data Protection, Policy Controller
7647+
* Application deployment - CI/CD tools like Cloud Build, GitLab
7648+
* Application development - Cloud Code
7649+
</b></details>
7650+
7651+
<details>
7652+
<summary>What is the primary computing environment for Anthos to easily manage workload deployment?</summary><br><b>
7653+
7654+
* Google Kubernetes Engine (GKE)
7655+
</b></details>
7656+
7657+
<details>
7658+
<summary>How does Anthos handle the control plane and node components for GKE?</summary><br><b>
7659+
7660+
On GCP the kubernetes api-server is the only control plane component exposed to customers whilst compute engine manages
7661+
instances in the project.
7662+
</b></details>
7663+
7664+
<details>
7665+
<summary>Which load balancing options are available?</summary><br><b>
7666+
7667+
* Networking load balancing for L4 and HTTP(S) Load Balancing for L7 which are both managed services that do not require
7668+
additional configuration.
7669+
* Ingress for Anthos which allows the ability to deploy a load balancer that serves an application across multiple clusters
7670+
on GKE
7671+
</b></details>
7672+
7673+
<details>
7674+
<summary>Can you deploy Anthos on AWS?</summary><br><b>
7675+
7676+
* Yes, Anthos on AWS is now GA. For more read [here](https://cloud.google.com/anthos/gke/docs/aws)
7677+
</b></details>
7678+
7679+
<details>
7680+
<summary>List and explain the enterprise security capabilities provided by Anthos</summary><br><b>
7681+
7682+
* Control plane security - GCP manages and maintains the K8s control plane out of the box. The user can secure the api-server by using master authorized networks and private clusters. These allow the user to disable access on the public IP address by assigning a private IP address to the master.
7683+
* Node security - By default workloads are provisioned on Compute engine instances that use Google's Container Optimised OS. This operating system implements a locked-down firewall, limited user accounts with root disabled and a read-only filesystem. There is a further option to enable GKE Sandbox for stronger isolation in multi-tenant deployment scenarions.
7684+
* Network security - Within a created cluster VPC, Anthos GKE leverages a powerful software-defined network that enables simple Pod-toPod communications. Network policies allow locking down ingress and egress connections in a given namespoace. Filtering can also be implemented to incoming load-balanced traffic for services that require external access, by supplying whitelisted CIDR IP ranges.
7685+
* Workload security - Running workloads run with limited privileges, default Docker AppArmor security policies are applied to all Kubernetes Pods. Workload identity for Anthos GKE aligns with the open source kubernetes service accounts with GCP service account permissions.
7686+
* Audit logging - Adminstrators are given a way to retain, query, process and alert on events of the deployed environments.
7687+
</b></details>
7688+
7689+
<details>
7690+
<summary>How can workloads deployed on Anthos GKE on-prem clusters securely connect to Google Cloud services?</summary><br><b>
7691+
7692+
* Google Cloud Virtual Private Network (Cloud VPN) - this is for secure networking
7693+
* Google Cloud Key Management Service (Cloud KMS) - for key management
7694+
</b></details>
7695+
7696+
<details>
7697+
<summary>What is Island Mode configuration with regards to networking in Anthos GKE deployed on-prem?</summary><br><b>
7698+
7699+
* This is when pods can directly talk to each other within a cluster, but cannot be reached from outside the cluster thus forming an "island" within the network that is not connected to the external network.
7700+
</b></details>
7701+
7702+
<details>
7703+
<summary>Explain Anthos Config Management</summary><br><b>
7704+
7705+
It is a core component of the Anthos stack which provides platform, service and security operators with a single, unified approach to multi-cluster management that spans both on-premises and cloud environments. It closely follows K8s best practices, favoring declarative approaches over imperative operations, and actively monitors cluster state and applies the desired state as defined in Git. It includes three key components as follows:
7706+
7707+
1. An importer that reads from a central Git repository
7708+
2. A component that synchronises stored configuration data into K8s objects
7709+
3. A component that monitors drift between desired and actual cluster configurations with a capability of reconciliation when need rises.
7710+
</b></details>
7711+
7712+
<details>
7713+
<summary>How does Anthos Config Management help?</summary><br><b>
7714+
7715+
It follows common modern software development practices which makes cluster configuration, management and policy changes auditable, revertable, and versionable easily enforcing IT governance and unifying resource management in an organisation.
7716+
</b></details>
7717+
75787718
## OpenStack
75797719

75807720
<details>

0 commit comments

Comments
 (0)