In order to run kubectl and/or Helm commands from a Linux system against OpenShift cluster, obtain the kube
config file from the OpenShift cluster.
About this task
A Linux workstation is used to execute the helm and kubectl commands needed to install and manage ObjectScale on OpenShift.
Examples in this document use the default location for the kubectl (Kubernetes control binary) configuration file. The default location for the Kubernetes configuration file is
$HOME/.kube/config.
Commands may be run from either a Linux system with kubectl/helm or the OpenShift cluster service node.
Steps
On your Linux workstation, create the
kube directory.
mkdir -p ~/.kube
Using SCP copy the
kubeconfig file from the service node to the Linux workstation. Command syntax is: