Helm Commands Cheat Sheet



Drivers unitcom.

  1. Helm Commands Cheat Sheet Pdf Download Free
  2. Helm Commands Cheat Sheet Download
  3. Helm Commands Cheat Sheet 5e
  4. Helm Command Line

Helm commands cheat sheet - UX Techno This article will explain you about helm commands along with commonly used options. You may treat this article as helm commands cheat sheet. November 21, 2020 The Terraform commands cheat sheet (PDF) is an attempt to document, classify, and organize the most used Terraform commands. I will try to update this with the latest Terraform commands as updates come out, so make sure to bookmark this page or save it to your team’s documentation. Terraform Cheat Sheet PDF.

  • PDF Link: cheatsheet-bosh-A4.pdf, Category: vmware
  • Blog URL: https://cheatsheet.dennyzhang.com/cheatsheet-bosh-A4
  • Related posts: PKS CheatSheet, Tile CheatSheet, Chef CheatSheet, #denny-cheatsheets

File me Issues or star this repo.

1.1 Bosh Frequent-Used

NameCommand
List tasksbosh tasks -r=10, bosh -d $deployment tasks -ar
Tail latest bosh taskbosh task -a, bosh task -a --debug
List deployments and vmsbosh deployments, bosh -d $deployment vms
Bosh get current task outputbosh -d $deployment task $id --result
Bosh get task all detail logbosh -d $deployment task -a --debug, bosh -d $deployment task $id --debug
Delete a deploymentbosh delete-deployment -d $deployment, bosh delete-deployment -d $deployment --force
Upload releasebosh -n upload-release, bosh -n upload-release /tmp/my-release-0.22.0.tgz
Create bosh release tar from source codebosh-create-release.md
Get deployment manifest yamlbosh -d $deployment manifest > my.yaml
Run bosh deployment from yamlbosh -d $deployment deploy my.yaml
Run errand, and avoid deleting the vmsbosh -n -d $deployment run-errand $errand_name --keep-alive
Delete all or a given bosh deploymentcleanup-bosh-deployment.sh
Delete all or a given bosh releasecleanup-bosh-releases.sh
Common Bosh Releaseskubo-release, cfcr-etcd-release, docker-boshrelease, pxc-release, YouTube: BOSH Release
ReferenceLink: terminology, GitHub: cloudfoundry/bosh, CheatSheet: Cloudfoundry Tile & OpsManager
ReferencePKS CheatSheet, Bosh CheatSheet, Tile CheatSheet, UAA CheatSheet

1.2 Bosh Release

NameCommand
List releasebosh -n releases
Release folder/var/tempest/releases
Create a local releasebosh create-release --tarball=myrelease-0.4.0.tgz
Export a releasebosh -d $deployment export-release <my-release>/<release-version> ubuntu-xenial/170.9
Inspect a releasebosh inspect-release <my-release>/<release-version>
Delete releasebosh -n delete-release <my-release>/<release-version> --force
Upload releasebosh -n upload-release, bosh -n upload-release /tmp/my-release-0.22.0.tgz
Reset releasebosh reset-release
ReferenceLink: Release creation

1.3 Bosh Basic

NameCommand
boshapt install bosh-cli, /var/vcap/bosh/log, /var/vcap/sys/log
List all bosh deploymentsbosh -n deployments, bosh -n deployments --json
Download log filesbosh -d $deployment_id logs
Show deployment manifestbosh manifest -d $deployment
Show current cloud configbosh cloud-config, bosh cc, bosh configs
Show current CPI configbosh cpi-config
List environmentbosh env, bosh env --json, bosh envs
List all instancesbosh instances, bosh -d $deployment_id instances --ps
Get vms per deploymentbosh -e $env -d $deployment vms, bosh instances
Cloud consistency checkbosh cloud-check -d $deployment
List disksbosh disks -o

1.4 Bosh Interpolate

NameCommand
Bosh Interpolates variablesbosh int /tmp/build/4dcXX/pks-lock/metadata --path=/ops_manager/username
Bosh use a property within a template<%= p(‘some-property’) %>
Bosh use a property with default value<%= p(‘cluster-name’, <%= spec.deployment %>) %>
Bosh use a property conditionallybosh-if-property.md
Parse json outputbosh int --path=/uuid -, similar to jq command

1.5 Bosh Manifest

NameCommand
Show bosh manifestbosh manifest -d $deployment
Run bosh deployment from manifestbosh -d $deployment deploy my.yaml

1.6 Bosh VM

NameCommand
List vmsbosh -d $deployment vms
List vms with verbose infobosh -d $deployment vms --vitals
Delete a vmbosh -d $deployment delete-vm <vm-cid>>
SSH to vmbosh -d $deployment ssh $vm_name/$GUID
Run SSH commandsbosh -d $deployment ssh $vm_name>/$GUID -c 'sudo cat /etc/hosts'
bosh scpbosh -d $deployment scp /tmp/myfile $vm_name/$GUID:/tmp/

1.7 Bosh Errand

NameCommand
List errandsbosh errands -d $deployment
Run errand in a new vmbosh -n -d $deployment run-errand <errand_name>Link: run-errand
Run errand in a new vm with env alivebosh -n -d $deployment run-errand <errand_name> --keep-alive
Run errand in an existing vmbosh -n -d $deployment run-errand <errand_name> --instance=worker/instance-id=XXX

1.8 Bosh Blob

NameCommand
ReferenceLink: Working with Blobs
Configure credentialPrepare config/private.yml
Add local file to blobbosh add-blob /tmp/<telegraf:1.7-alpine.tgz> container-images/telegraf:1.7-alpine.tgz
Upload blobsbosh upload-blobs
List blobbosh blobs
Remove blobbosh remove-blob container-images/cadvisor-v0.31.0.tgz

1.9 Bosh Task

NameCommand
List recent tasksbosh -d $deployment tasks --recent
List all tasksbosh -d $deployment tasks -ar
Attach to current taskbosh -d $deployment task -a
Get task by idbosh -d $deployment task $id
Get task detail msgbosh -d $deployment task $id --debug
Get all logs for a deploymentbosh -d $deployment logs
Get log for one vmbosh -d $deployment logs $instance_name
List bosh eventsbosh events

1.10 Bosh Job – Skeleton

NameCommand
ReferenceExample: kubo-release/jobs
providesExport resources for other bosh releases
consumesUse resources from other bosh releases
packagesPackages get installed by bosh
templatesConf files

1.11 Bosh Deployment

NameCommand
List bosh deploymentsbosh deployments
Show detail of one deploymentbosh -d $deployment deployment
Delete bosh deploymentbosh -n -d $deployment delete-deployment --force
Get deployment manifest yamlbosh -d $deployment manifest > my.yaml
Run bosh deployment from yamlbosh -d $deployment deploy my.yaml

1.12 Bosh vs Kubernetes

Bosh – VM Lifecycle ManagementKubernetes – Container Lifecycle Management
Bosh EnvsKubernetes Context
Bosh DeploymentKubernetes Deployment
Bosh StemcellDocker Image
Bosh ManifestKubernetes Configmap & Yaml
Bosh MonitKubernetes Kubelet
Bosh ErrandKubernetes Job
Bosh ReleaseKubernetes Chart
Bosh TileKubernetes Helm
Bosh DirectorKubernetes API server
Bosh EventKubernetes Event
Bosh Task
Bosh Agent
Bosh Addon
Bosh Ops managerNo related feature: UI to customize your service

1.13 Bosh Concepts List

NameComment
Bosh StemcellsA versioned Operating System image. Download stemcell
Bosh DeploymentAn encapsulation of software and configuration that BOSH can deploy to the cloud.
Bosh ReleaseEverything needed to make a software component deployable by BOSH.
Bosh JobEach release job represents a specific chunk of work that the release performs.
Bosh PackageIt contains vendored in software source and scripts to compile it.
Bosh ErrandA short-lived job that can be triggered by an operator any time after the deploy.
Bosh TileA *.pivotal file with everything needed to install/upgrade a PCF service. Tile CheatSheet
Bosh ManifestA YAML file that identifies one or more releases, stemcells and configurations
Bosh ops fileA YAML file that includes multiple operations to be applied to a different YAML file.
Bosh EventActions taken by the Director (via user or system control) are recorded as events
Bosh DirectorThe Director is the orchestrator of deployments.
Bosh AddonA release job that is colocated on all VMs managed by the Director.
Bosh AgentA process that runs continuously on each VM that BOSH deploys. one Agent process per VM
Bosh JumpboxA VM that acts as a single access point for the Director and deployed VMs.
Director BlobstoreA repository where BOSH stores release artifacts, logs, stemcells, and other content, etc
Cloud ID (CID)ID returned from the Cloud identifying particular resource such as VM or disk.

1.14 Bosh Stemcell

NameCommand
Floating stemcellFloating stemcells allow upgrade to the minor versions of stemcells but not the major versions.
Upload stemcellbosh -n upload-stemcell /tmp/stemcell.tgz
List stemcellsbosh -n stemcells
Delete a stemcellbosh delete-stemcell <stemcell-name>/<stemcell-version>

1.15 Bosh Monit

NameComment
List bosh deployed daemon processessudo su -, monit summary, watch 'monit summary'
Restart a given daemon processesmonit restart <process_name>
Check a given daemon processes statusmonit status <process_name>

1.16 Bosh Tools

NameComment
bbr bosh-backup-and-restoreA framework for backing up and restoring BOSH deployments and BOSH Directors.
bbl bosh-bootloaderA command line utility for standing up BOSH on multi-clouds
bpm BOSH process managerIsolation of BOSH jobs to make they run on many different work schedulers instead of monit only

1.17 Bosh Challenges

NameComment
Create deployment is very slowNeed to compile packages again, and canary update for all VMs
Errands on non co-located vmsIt takes 5+ minutes to spin up and destroy a VM
No repo mechanism for Bosh releasesDuplicate packages are required to make no external dependencies
Support tail -fPersonally I don’t like the way of bosh logs
Retry a failed errand/taskCurrently we can do it. But it’s a lengthy manual process
More lightweightUse containers, instead of VMs to run errands
Support rolling upgradeJust like kubectl rollout
More declarativeEnd users define requirements via yaml files

1.18 Online Help Usage

1.19 More Resources

License: Code is licensed under MIT License.
Chinatelecom motherboards driver.



  • PDF Link: cheatsheet-openshift-A4.pdf, Category: Cloud
  • Blog URL: https://cheatsheet.dennyzhang.com/cheatsheet-openshift-A4
  • Related posts: PKS CheatSheet, Kubectl CheatSheet, #denny-cheatsheets

File me Issues or star this repo.

1.1 OpenShift FAQ

NameSummary
Kubernetes versions for different OpenShift versionsopenshift 3.9, openshift 3.10, openshift 3.11

1.2 OpenShift Key Components

NameCommand
Computing virtualizationRHV (Red Hat Virtualization), based on KVM
SDN networkingBased upon OVS
VM/Cluster lifecycle managementCloudForms ?
Node healingNotification of failed components but no recovery
Container optimized OS
Container Image Compliance ScanCloudForms OpenSCAP, like Harbor Clair
Container runtimedockerd, cri-o
Container image registryOpenShift Container Registry (OCR), powered by Redhat Quay
Packages k8s cluster orchestratortectonic ?
Component PackagingAnsible modules?
CSI for Persistent volumeGlusterFS, NFS, Local storage
AuthorizationOpenShift Container Platform policy engine
Disater RecoveryNotification of failed components but no recovery
Control Plane
ReferenceLink: OpenShift Container Platform Cluster Limits
ReferenceLink: OpenShift Key Components, Link: PKS Key Components

1.3 New Concepts From OpenShift

NameCommand
BuildConfig
Source2Image(s2i)
TemplatesLike helm chart
PipelinesJenkins
Fine grained security policies OOTBLike k8s psp
Security Context Contraints(SCC)
Red Hat Container Catalog (RHCC)
RouteLike k8s ingress
Metering and Chargeback
Operator SDK

1.4 OpenShift Solutions

Sheet
NameCommand
OpenShift OnlineHosted by Red Hat in AWS public cloud
OpenShift DedicatedVirtual private cloud, managed by Red Hat in any AWS region
OpenShift Container PlatformAny on-premise, public, or private cloud infra with RedHat Enterprise Linux
OKD
Minishift
ReferenceLink: OpenShift plans and pricing

1.5 OpenShift Glossary

Fantasy football cheat sheet
NameCommand
OKDThe Origin Community Distribution of Kubernetes that powers Red Hat OpenShift.
oc command lineOpenShift command line: oc <action> <object_type> <object_name_or_id>
ProjectNamespace in Kubernetes. Resources are aggregated by projects. oc get project
BuildBuilds create a new image from source code, other images, Dockerfiles, etc. oc get build
Build ConfigurationHow to build source code and a base image into a new image. oc get bc
RouteEndpoint in Kubernetes. A route is an external DNS entry
Deployment Configurationoc get dc
ImageStreamoc get is
ImageStreamTagoc get istag
ImageStreamImageoc get isimage
Templateoc get template
Template Instanceoc get templateinstance
ExplainOnline manual oc explain pod
Red Hat RegistryBy default, all images are pulled from registry.redhat.io.
OpenShift SaaS Versionhttps://openshift.io/
OpenShift onlinehttps://cloud.openshift.com
Reference
ReferenceOpenShift CheatSheet, Rancher CheatSheet, PKS CheatSheet

1.6 OpenShift Assumptions

NameSummary
Single instance of K8SOne OpenShift One K8S. Use k8s namespace soly for multi-tenancy
No mixed versionsVersions must match between master and node hosts, excluding upgrade; Old oc can talk to new servers
Node rolesMaster nodes, worker nodes, and etcd nodes.

1.7 OpenShift Maintainance

NameCommand
Install clustersRun ansible playbooks to install OpenShift
Upgrade clustersSupport both in-place upgrade and blue-green deployments; Use ansible to upgrade clusters
Node problem healing

1.8 OpenShift Cfg Files

NameSummary
The default image stream and template files/usr/share/openshift/examples/, /etc/origin/examples/
Data folder for master and worker nodes/var/lib
Volumes and potential core dumps of the binary/var/lib/origin
Cloud provider specific conf(AWS, Azure, etc)/etc/origin/cloudprovider
Additional third party volume plug-ins/usr/libexec/kubernetes/kubelet-plugins, /etc/origin/kubelet-plugins
All certificates, conf files, admin.kubeconfig, etc/etc/origin/master
Master node conf profile/etc/origin/master/admin.kubeconfig
Used for node bootstrapping nodes other than master/etc/origin/master/bootstrap.kubeconfig
Node conf profile/etc/origin/node/node.kubeconfig, /etc/origin/node/node-config.yaml

1.9 OC – Highlights

Helm Commands Cheat Sheet Pdf Download Free

NameCommand
Get api requests verbose output with kubectl calloc --loglevel 999 get pod/dummy-deployment-6d6759c786-5kwth
Start a pod and get a shell for debugoc debug dc/jorge
Impersonate for oc commandoc --as=jorge get pods, oc --as-group=developers get pods
Use oc to do admin operationsoc adm <sub-command>
Try experimental commands of ococ ex <sub-command>
Explain OpenShift/Kubernetes concepts to meoc explain pod, oc explain replicaset
Enable oc shell autocompletionecho 'source <(oc completion zsh)' >>~/.zshrc, then reload terminal
ReferenceOpenShift CheatSheet, Kubectl CheatSheet

1.10 OC – Admin

NameCommand
Login/logoutoc login, oc logout, oc whoami
List routeoc get route
List all object typesoc types, oc api-resources
Start a local OpenShift all-in-one clusteroc cluster up

1.11 OC – Developer

NameCommand
Create a projectoc new-project <projectname> --description=<description> --display-name=<display_name>
Check status of current projectoc statusLink: OC CLI Operations
Show oc cli profileoc config viewLink: Managing CLI Profiles
Get all resourceoc get all
Switch projectoc project <projectname>
Create an applicationoc new-app https://github.com/sclorg/cakephp-ex
Create a new buildoc new-build https://github.com/sclorg/cakephp-ex
Manually start a build with given confoc start-build <buildconfig_name>
Stop a build that is in progressoc cancel-build <build_name>
Import an external imageoc import-image <image_stream>
Tag an imageoc tag <current_image> <image_stream>

1.12 OpenShift Source Code

NameCommand
Openshift Ansible DeploymentGitHub: openshift-ansible/playbooks

1.13 OpenShift Opportunty

NameCommand
Doesn’t support multiple clusters
OC command line could be a strengh or a weakness
Lack of SDN solution
Time-consuming for administrators’ operations

Helm Commands Cheat Sheet Download

1.14 OpenShift CLI Help All

1.15 OpenShift CLI Help Admin

Helm Commands Cheat Sheet 5e

1.16 More Resources

License: Code is licensed under MIT License.

Helm Command Line






Comments are closed.