Kubernetes is an open-source platform for automating deployment, scaling and operations of application containers across clusters of hosts, providing container-centric infrastructure.
Learn how to
Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation. $ git clone project url Downloads a project with the entire history from the remote repository. 01 02 Git Cheat Sheet Day-To-Day Work $ git status Displays the status of your working directory. Options include new, staged, and modified files. It will retrieve branch name, current commit identifier, and changes pending commit. $ git add file. Kubernetes Security Cheat Sheet¶ Kubernetes¶ Kubernetes is an open source container orchestration engine for automating deployment, scaling, and management of containerized applications. The open source project is hosted by the Cloud Native Computing Foundation (CNCF). When you deploy Kubernetes, you get a cluster.
Install Minikube
Run locally on Minikube
Install Kubectl
Use the Kubectl CLI
A cheat sheet for Kubernetes commands. Contribute to RehanSaeed/Kubernetes-Cheat-Sheet development by creating an account on GitHub. The Kubernetes Cheat Sheet by A Cloud Guru which is a nice resource that summarizes many of the common kubectl commands which you can print out and hang on your office wall. The only Kubernetes cheat sheet you'll need!
Also, see why you’ll need more than Kubernetes for DevOps. Created by Red Hat’s own Daniel Oh for your ease.
Kubernetes is an open-source platform for automating deployment, scaling and operations of application containers across clusters of hosts, providing container-centric infrastructure.
Learn how to
Install Minikube
Run locally on Minikube
Install Kubectl
Use the Kubectl CLI
Also, see why you’ll need more than Kubernetes for DevOps. Created by Red Hat’s own Daniel Oh for your ease.
DownloadEmail link TrueUnofficial AKS Cheat Sheet
Official AKS FAQ is here
Reference: az aks
Get k8s available versions
To configure kubectl to connect to your Kubernetes cluster
Open k8s Dashboard
If you're using RBAC enabled kubernetes cluster, you need to configure Service Account and RoleBinding in order to make Dashbaord work.
If you want to configure more granular privilege to the Dashboard's service account instead of giving full privilege(role: cluster-admin), please follow 'Option 1: Access to Dashboard with your Service Account' in this article.
In addition, please see Kubernetes dashboard with Azure Container Service (AKS) to know about basic dashboard operations.
Get AKS Cluster info
Get Node Resource Group
Scale AKS Cluster nodes
Upgrade AKS Cluster version
Enable Add-on
Check egress IP
Reference: az acr
Create an Azure Container Registry
SKU:
Basic
,Standard
,Premium
,Classic
Get ACR list
Get ACR Detail
Show ACR Repositories
Login to ACR
ACR Task - Build
You can queues a quick build, providing streamed logs for an Azure Container Registry by using az acr build
kubenet
azure
1.12+
Azure Network Policies
- the Azure CNI sets up a bridge in the VM host for intra-node networking. The filtering rules are applied when the packets pass through the bridgeazure
Calico Network Policies
- the Azure CNI sets up local kernel routes for the intra-node traffic. The policies are applied on the pod’s network interface.azure
&& --network-policy calico
LoadBalancer
(NOT ClusterIP
nor NodePort
)loadBalancerIP:XX.XX.XX.XX
Once a Kubernetes service of type LoadBalancer is created, agent nodes are added to an Azure Load Balancer pool. For outbound flow, Azure translates it to the first public IP address configured on the load balancer. This public IP address is only valid for the lifespan of that resource. Games free for mac. If you delete the Kubernetes LoadBalancer service, the associated load balancer and IP address are also deleted.
loadBalancerIP
property)CoreDNS
kube-dns
100
100
110
30
( NOTE: you can change the limit for Azure CLI or Resource Manager template deployments up to 110
)