kubectl
command-line tool to run commands against Kubernetes clusters, like the one used by SAP Data Hub, trial edition.aws
CLI and kubectl
. I had Python3
already on my laptop, so aws
installation was simple.kubectl
, because "You must use a kubectl version that is within one minor version difference of your cluster." And because my cluster K8s version on AWS is 1.11 (for current SAP Data Hub 2.5), it was quite a few minutes to find corresponding client version.Gotcha: Finally I found it at https://v1-12.docs.kubernetes.io/docs/tasks/tools/install-kubectl/#install-kubectl. And yes, I am using one minor version higher, so that I do not need to reinstall it for Data Hub 2.6, which is based on 1.12.
caltdc-58597878-I076835
is the name of my cluster, as returned by aws eks list-clusters
.aws configure
aws sts get-caller-identity
aws eks list-clusters
aws eks update-kubeconfig --name=caltdc-58597878-I076835
kubectl config current-context
Gotcha: you need to be careful what version you are deploying, as different documentation pages have deployment commands for different versions. I checked the page https://github.com/kubernetes/dashboard/releases and found there is no version fully compatible with K8s version 1.11 😮
So, I picked https://github.com/kubernetes/dashboard/releases/latest, which was 1.10.1 at the time of writing the post.
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v1.10.1/src/deploy/recommended/kubernetes-das...
kubectl
proxykubectl proxy
8001
, but it is configurable with the --port
option./api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/
API, so accessible from following URL:aws eks
command. Unfortunately it is time-restricted, meaning every now and then you need to logout the Web UI, regenerate a token, and login again.aws eks get-token --cluster-name caltdc-58597878-I076835
datahub
. You can see workload statuses, and monitor and troubleshoot different K8s resources, like deployments, pods, services etc, which make up SAP Data Hub installation.You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
13 | |
10 | |
10 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 | |
4 |