Kubernetes Cheat Sheet: Cheatsheet: Kubernetes For Operations 1
Kubernetes Cheat Sheet: Cheatsheet: Kubernetes For Operations 1
CHEAT SHEET
What is Kubernetes?
Kubernetes is a container management solution with several logical layers:
as-a-Service Automation:
provisioning, scaling, self-healing
Kubernetes success relies on conformance and alleviates the burden created by other
solutions’ open-endedness and lack of interoperability from ancillary projects.
Kubernetes Features
FEATURES PROJECTS
EXAMPLES Pod Horizontal Autoscaling, IaaS autoscaling,
ReplicaSet VM orchestration
VETTED BY KUBERNETES
STAKEHOLDERS Yes No
TESTED AS PART OF
KUBERNETES
Yes No
STANDARD COMMERCIAL
SUPPORT Yes No
API CHANGES OR
Low High
DEPRECIATION RISK
Automatically trigger CI/CD Start automated build and test, Update artifact repository with Deploy applications to container
pipeline based on code check-in. including functional, security and latest successful code artifacts and orchestration and watch with
performance tests. pull newest images. monitoring and logging.
Jenkins
• Daemon process that implements the KUBE PROXY — AGENT ON EVERY WORKER
control loops built into Kubernetes — • Network proxy and load balancer for
e.g. rolling deployments Kubernetes Services
• More: https://goo.gl/NJyRP3 • More: https://goo.gl/ph4sAs
SCHEDULER
Kube-DNS Kubectl
• Provisioned as a pod and a service on • Official command line for Kubernetes
Kubernetes • Industry standard Kubernetes
• Every service gets a DNS entry in commands start with “Kubectl”
Kubernetes
• Kube-DNS resolves DNS of all services
in the clusters
• all
• certificatesigningrequests (aka ‘csr’)
• clusterrolebindings
• clusterroles
• componentstatuses (aka ‘cs’)
• configmaps (aka ‘cm’)
• controllerrevisions
• cronjobs
• customresourcedefinition (aka ‘crd’)
• daemonsets (aka ‘ds’)
• deployments (aka ‘deploy’)
• endpoints (aka ‘ep’)
• events (aka ‘ev’)
• horizontalpodautoscalers (aka ‘hpa’)
• ingresses (aka ‘ing’)
• jobs
• limitranges (aka ‘limits’)
• namespaces (aka ‘ns’)
• networkpolicies (aka ‘netpol’)
• nodes (aka ‘no’)
• persistentvolumeclaims (aka ‘pvc’)
• persistentvolumes (aka ‘pv’)
• poddisruptionbudgets (aka ‘pdb’)
• podpreset
• pods (aka ‘po’)
• podsecuritypolicies (aka ‘psp’)
• podtemplates
• replicasets (aka ‘rs’)
• replicationcontrollers (aka ‘rc’)
• resourcequotas (aka ‘quota’)
• rolebindings
• roles
• secrets
• serviceaccounts (aka ‘sa’)
• services (aka ‘svc’)
• statefulsets (aka ‘sts’)
• storageclasses (aka ‘sc’)
$ kubectl explain RESOURCE Print documentation of resources
$ kubectl scale Scale a ReplicaSet (rs) named foo
--replicas=COUNT rs/foo
Can also scale a Replication Controller, or
StatefulSet
Kubernetes-as-a-Service Anywhere
with DC/OS
Deliver Kubernetes on any infrastructure with push-button
control and automated self-healing.
DC/OS automates the end-to-end management of Kubernetes, developer tools, and Big
Data services so they can be delivered as-a-Service on any infrastructure. DC/OS provides
the management layer organizations need to deliver Kubernetes to developer groups and
lines of business:
D2iQ is leading the enterprise transformation toward distributed computing and hybrid
cloud portability. DC/OS is the premier platform for building, deploying, and elastically
scaling modern, containerized applications and big data without compromise. DC/OS
makes running containers, data services, and microservices easy, across any infrastructure
— datacenter or cloud — without lock-in
Learn More
Ready to see how D2iQ can power Kubernetes in your organization?
Contact sales@d2iQ.com today to get started. From weekly touch-base meetings to
biweekly roadmap calls, customer success managers and solution architects work lockstep
with your technology organization to eliminate the learning curve.