Accessing PPC using a Linux machine
Steps to access PPC using a separate Linux machine.
Access to the PPC cluster from a separate Linux machine may be required in the following situations:
- The original jump box used during installation is no longer available or has been decommissioned.
- A different team member or administrator needs cluster access without setting up a new jump box.
- Operational tasks, such as troubleshooting or monitoring, are being performed from a dedicated management machine.
- The organization requires cluster access to be restricted to specific machines for security or compliance reasons.
Before you begin
Ensure that the following prerequisites are met.
- A Linux machine is available and running.
- AWS CLI is installed and configured.
- Kubernetes command-line tool is installed.
Perform the following steps to access PPC using a separate Linux machine.
Log in to Linux machine with root credentials.
Configure AWS credentials, using the following command:
aws configureVerify that AWS credentials are working, using the following command:
aws sts get-caller-identityIf the Kubernetes command-line tool is not available, then install the Kubernetes command-line tool, using the following command:
kubectl version --client 2>/dev/null || { echo "Installing kubectl..." curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" chmod +x kubectl sudo mv kubectl /usr/local/bin/ kubectl version --client }Set up the Kubernetes command-line tool and access the cluster, using the following command:
aws eks update-kubeconfig --region <region_name> --name <cluster_name>Verify the access to the cluster, using the following command:
kubectl get nodes
Feedback
Was this page helpful?