FreeKB - OpenShift articles
OpenShift articles

Getting Started with OpenShiftAdmin ConsoleGetting Started with the Admin ConsoleClusterList Cluster Operators using the oc get clusteroperator commandoc cluster-infooc describe clusteroperatorCluster Application Migration (CAM) ToolMigrate Application - Create the Migration PlanMigrate Application - Migrate a PlanMigrate Application - Stage a PlanCodeReady Containerscrc cleanup command (CodeReady Containers version)crc config command (CodeReady Containers)crc delete command (CodeReady Containers)crc setup command (CodeReady Containers)crc start command (CodeReady Containers)crc status command (CodeReady Containers)crc stop command (CodeReady Containers)crc version command (CodeReady Containers version)crc.log (CodeReady Containers log)Config MapsCreate Config Map using the oc create configmap commandDelete Config Maps using the oc delete configmap commandEdit Config Map using the oc edit commandList Config Maps using REST API (curl)List Config Maps using the oc get configmap commandView Config Maps using the oc describe configmap commandDaemon SetsList deamon sets using the oc get daemonsets commandDeploymentsDelete deployment using the oc delete deployment commandDeploy an application using the oc new-app command from Docker HubDeploy an application using the oc new-app command from GitHubDeploy an application using the oc new-app command from imageDeployment status using the oc status commandList deployment environment variablesList deployments using REST API (curl)List deployments using the oc get deployments commandList replicas using REST API (curl)List replicas using the oc get replicaset commandList replicaset environment variablesRestart deployment using the oc scale command (replicas)egressAssign egress IP address using the oc patch egressnetworkpolicy commandegress IP using the oc get hostsubnet command (cidr)Show egress rules using the oc describe egressnetworkpolicy commandElastic Searches_util query indicesMonitor an Application Server in Elastic APMEventsList Events using the oc get events commandView Node events using the oc describe node commandView Pod events using the oc describe pod commandImagesList images using the oc get images commandList images using the oc get imagestreams commandInstallInstall 60 day free trial version of Red Hat OpenShift on VMWareInstall CodeReady ContainersInstall OpenShift CodeReady Containers on Linux or MacInstall OpenShift CodeReady Containers on WindowsUninstall OpenShift CodeReady Containers on LinuxUninstall OpenShift CodeReady Containers on MacUninstall OpenShift CodeReady Containers on WindowsInternal RegistryList repositories in the internal registryJobsList cronjobs using the oc get cronjob commandList Jobs using the oc get jobs commandLoggingElastic Search logs (ELK EFK stack)Filebeat logs (ELK EFK stack)Fluentd log level (ELK EFK stack)Fluentd logs (ELK EFK stack)Kibana Logs (ELK EFK stack)log level option (--loglevel)View logs using the master-logs commandView pod logs using the oc logs commandLoginoc login commandMachines / NodesAdd machines nodes using the oc scale machineset commandDelete machine using the oc delete machine commandList node clusters using the oc get machineset commandList nodes using the oc get machines commandList nodes using the oc get nodes commandMarking a nodes as schedulable or unschedulable (oc adm manage-node)oc get machineconfigpooloc get mcp (machine config status)Start a node in debug mode using the oc debug commandOAuthList OAuth Bearer Token using REST API (curl)Obtain OAuth Bearer Token using REST API (curl)oc commandGetting Started with the oc commandOutput Formatcustom-columns optioncustom-columns optionPodsConfigure a pod to create heap dumps (oc edit JAVA_OPTS)Delete Pod using the oc delete pod commandDisplay a pods YAML or JSONEvacuating pods on a nodes (oc adm drain)Execute a command in a pod using the oc exec commandList pods using REST API (curl)List pods using the oc get pods commandRemote shell to a pod using the oc rsh commandRestart Pod using the oc delete pod commandRestart Pod using the REST API (curl)Update a pods max heap (oc edit JAVA_OPTS)Update a pods metaspace (oc edit JAVA_OPTS)View a pods memory (RAM oc edit)Project / NamespaceChange Project using the oc project commandCreate Project using the oc create commandCreate Project using the oc new-project commandDelete Project using the oc delete project commandList namespaces using REST API (curl)List projects using the oc get netnamespaces commandList projects using the oc get projects commandShow project details using the oc describe commandRoutesList Routes using the oc describe route commandList Routes using the oc get routes commandSecretsCreate Secret using the oc apply commandCreate Secret using the oc secrets commandDelete Secret using REST API (curl)Deleting Secrets using the oc delete secret commandDisplay secret content using the oc secrets commandList Secrets using REST API (curl)List Secrets using the oc get secrets commandUsing a secretServicesCreate load balance service using the oc create service commandDisplay service details using the oc describe service commandList Services using REST API (curl)List Services using the oc get services commandSSL / TLSList SSL certificates in a config mapList SSL certificates in a deployment container args (arguments)List SSL certificates in a secretService CA (certificate authority) SSL certificateView a pods SSL certificateStart Stop RestartStart Stop Restart Node using the master-restart commandTroubleshootingoc adm diagnostics commandPod stuck TerminatingResolve "Cluster operator network has not retrieved updates"Resolve "Cluster version operator has not retrieved updates"Resolve "Connection refused"Resolve "ContainerCreating"Resolve "CrashLoopBackOff"Resolve "DaemonSet openshift-sdn is not available awaiting nodes"Resolve "Disk High Watermark" (pod health status yellow or red)Resolve "Error trying to connect to APM Server"Resolve "failed to pull image manifest unknown ImagePullBackOut"Resolve "FailedMount Unable to attach or mount volumes timed out waiting for the condition"Resolve "Kubelet stopped posting node status"Resolve "Prometheus has failed to evaluate rules in the last 5m"Resolve "ThanosQueryHttpRequestQueryRangeErrorRateHigh"Resolve "You must obtain an API token"Resolve node status NotReadyUsers and RolesDisplay user name and token using the oc whoami commandGrant user access to a namespace using the oc adm policy commandList user that have access to a namespace using the oc get rolebindings commandList Users using the oc get users commandVersionoc get clusterversion commandoc version commandVolumesDescribe Persistent Volume Claims using the oc describe pvc commandList Persistent Volume Claims using the oc get pvc commandList Persistent Volume using the oc get pv commandMount a volume in a container

Web design by yours truely - me, myself, and I   |   jeremy.canfield@freekb.net   |