oc (OpenShift CLI )
Reference
Using the OpenShift CLI (v4.15)
Developer CLI Operations (v3.7)
https://docs.openshift.com/container-platform/3.7/cli_reference/basic_cli_operations.html
Developer CLI Operations (v3.6)
https://docs.openshift.com/container-platform/3.6/cli_reference/basic_cli_operations.html
Commands
oc delete project <project_name>
deploymentconfig "enki-datagrid-app" deleted
oc get dc
DeploymentConfig is deprecated in v4.14+, unavailable in v4.10000+
NAME REVISION DESIRED CURRENT TRIGGERED BY
enki-datagrid-app 1 0 0 config,image(jboss-datagrid65-openshift:1.4)
ghost 1 1 1 config,image(ghost:latest)
mariadb 1 1 1 config,image(mariadb:latest)
oc new-project <project> --display-name 'My project'
oc new-project sonarqube --display-name 'SonarQube'
oc version
Client Version: 4.8.11
Server Version: 4.15.0-0.okd-2024-03-10-010116
Kubernetes Version: v1.28.2-3598+6e2789bbd58938-dirty