Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell ObjectScale Application 1.3.x Installation Guide for Red Hat OpenShift

PDF

Prepare the OpenShift cluster

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

  1. On your Linux workstation, create the kube directory.
    mkdir -p ~/.kube
  2. Using SCP copy the kubeconfig file from the service node to the Linux workstation. Command syntax is:
    scp root@<SERVICE_NODE_IP>:/root/ocp4/auth/kubeconfig ~/.kube/config

    You will need to provide the password for the service node to complete this step.

  3. Edit the /etc/hosts to add the service node name to local hosts file.
    1. Locate the service node name in the config file
      grep server ~/.kube/config
      server: https://api.ocp4.myhost.com:6443
    2. Add the service node entry obtained above to the /etc/hosts file:
      <SERVICE_NODE_IP> <SERVICE_NODE_NAME> api.ocp4

      For example:

      10.55.66.100 api.ocp4.myhost.com api.ocp4
  4. Verify accessibility to the service node by running this command on the Linux workstation:
    1. Get a list of all of the nodes in your cluster:
      kubectl get nodes
    2. Get a list of the Pods in the current namespace:
      kubectl get pods
    3. List deployments in the current namespace:
      NOTE: If ObjectScale has not yet been deployed to the cluster, there will be no ObjectScale related deployments listed in the default namespace.
      kubectl get deployments

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\