User Tools

Site Tools


wiki:connect_k8s_cluster_created_by_atlassian_dc_app_performance_test_suite

Connect to k8s cluster created by atlassian dc-app-performance test suite

Name of the cluster can be found in the output after you spin up the cluster, something like

...
Added new context arn:aws:eks:us-east-2:855054226135:cluster/atlas-dcapt-product-cluster to /data-center-terraform/kubeconfig_atlas-dcapt-product-cluster
...

Then update the kubeconfig via

aws eks update-kubeconfig --name atlas-dcapt-product-cluster --region us-east-2

Then you can use commands like

kubectl get ns
kubectl get pods --namespace atlassian

And to exec into the pod to see logs:

kubectl exec –stdin –tty –namespace atlassian jira-0 – /bin/bash

Copy the log file locally

kubectl cp atlassian/jira-0:/var/atlassian/application-data/jira/log/atlassian-jira.log atlassian-jira.log

atlassian/jira-0 is <namespace>/<podname>

Tested on

See also

References

wiki/connect_k8s_cluster_created_by_atlassian_dc_app_performance_test_suite.txt · Last modified: by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki