You need to enter the shell prompt of a RTF app to perform some troubleshooting, such as to run curl and openssl commands. There may be differences when running these commands from the app versus from the controller or workers.
[root@ip-172-31-0-254 ec2-user]# kubectl get pods --all-namespaces
[root@ip-172-31-0-254 ec2-user]# kubectl get pods --all-namespaces NAMESPACE NAME READY STATUS RESTARTS AGE c7895e44-650d-45ad-abc7-2ff6a9c84def www-67f8bf4c67-l5kvs 2/2 Running 0 9m21s kube-system coredns-ngtnx 1/1 Running 0 19m kube-system coredns-worker-jplsd 1/1 Running 0 16m kube-system coredns-worker-kgbdf 1/1 Running 0 16m kube-system dns-app-install-3b470d-45grj 0/1 Completed 0 19m kube-system gravity-install-69dc7c-2r5jb 0/1 Completed 0 19m kube-system gravity-site-nqrrf 1/1 Running 0 18m kube-system log-collector-fc97d699f-mkhr4 1/1 Running 0 18m kube-system log-forwarder-59dch 1/1 Running 0 16m kube-system log-forwarder-pjf6z 1/1 Running 0 16m kube-system log-forwarder-pz79d 1/1 Running 0 19m kube-system logging-app-bootstrap-af9311-82s6j 0/1 Completed 0 19m kube-system monitoring-app-install-7862ab-cssq7 0/1 Completed 0 19m kube-system rtf-install-hook-90bdaa-vjlnx 0/1 Completed 0 18m kube-system site-app-post-install-ff254e-mqmwz 0/1 Completed 2 18m kube-system tiller-app-bootstrap-3c42b0-xhdn8 0/1 Completed 0 19m kube-system tiller-deploy-7f5cd54c97-gsxjj 1/1 Running 0 18m monitoring grafana-5fd4fdbd85-r7gxc 2/2 Running 0 18m monitoring heapster-5858fcb487-d7fjl 1/1 Running 0 18m monitoring influxdb-7754bf8967-r6gqd 2/2 Running 1 17m monitoring kapacitor-9d6954f84-4mvkl 3/3 Running 0 18m monitoring nethealth-8bl6g 1/1 Running 0 16m monitoring nethealth-fkvf8 1/1 Running 0 19m monitoring nethealth-mdj25 1/1 Running 0 16m monitoring telegraf-ddbcb564f-zbk69 1/1 Running 0 18m monitoring telegraf-node-master-r9b7k 1/1 Running 0 19m monitoring telegraf-node-worker-87z4p 1/1 Running 0 16m monitoring telegraf-node-worker-qv2mj 1/1 Running 0 16m rtf agent-795b9cf98b-647xr 1/1 Running 0 16m rtf cluster-status-1637171400-n5h4z 0/1 Completed 0 3m17s rtf ingress-x6jk4 1/1 Running 0 10m rtf initial-cluster-status-fplhz 0/1 Completed 0 15m
kubectl exec -it -n <namespace> <pod> -c app -- shIn this example, it would look like:
kubectl exec -it -n c7895e44-650d-45ad-abc7-2ff6a9c84def www-67f8bf4c67-l5kvs -c app -- sh3) Now, you should be inside the container with a prompt:
$
001116677

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.