-
Notifications
You must be signed in to change notification settings - Fork 2
Kubernetes setup & test
Elbrus edited this page Apr 2, 2022
·
5 revisions
Kubernetes is a portable, extensible, open-source platform for managing containerized workloads and services, that facilitates both declarative configuration and automation. It has a large, rapidly growing ecosystem. Kubernetes services, support, and tools are widely available.
Useful resources:
Good articles:
- Learn the Kubernetes Key Concepts in 10 Minutes
- Kubernetes: Are you Ready to Manage your Infrastructure like Google?
- An Intro to Google's Kubernetes and How to Use It
- Kubernetes: The Future of Cloud Hosting
- Application Containers: Kubernetes and Docker from Scratch
- Kubernetes 101: Pods, Nodes, Containers, and Clusters
K8s awesome:
-
On the Azure portal menu or from the Home page, select Create a resource.
-
Select Containers > Kubernetes Service.
- On the Basics page, configure the following options:
Project details:
- Select an Azure Subscription -
Azure for Students
. - Select or create an Azure Resource group, such as
AKS_RG
.
Cluster details:
- Ensure the the Preset configuration is
Dev/Test($)
. - Enter a Kubernetes cluster name, such as
kube_master
. - Select a Region and Kubernetes version for the AKS cluster.
Primary node pool:
- Leave the default values selected.
-
Select Next: Node pools when complete.
-
Keep the default Node pools options.
-
Networking section
- Click Review + create and then Create when validation completes.
It takes a few minutes to create the AKS cluster.
- Download necessary vscode plugins/extensions
Kubernetes:
Kubernetes Support:
Kubernetes Templates:
- Go to the Azure AKS Web Panel, execute a shell and run command:
az aks get-credentials --resource-group AKS_RG --name kube_master
- Download kubernetes config
- Setup kube config in vscode
- Result