1 Answer
- Newest
- Most votes
- Most comments
3
Hello, Once you have configured the EKS successfully, you can deploy the workloads based on your requirement like you can deploy the pods like kafka/nginx using kubectl, For an example below,
You can deploy sample with the following command:
kubectl apply -f "https://anywhere.eks.amazonaws.com/manifests/hello-eks-a.yaml"
To see the new pod running in your cluster, type:
kubectl get pods -l app=hello-eks-a
Example output:
NAME READY STATUS RESTARTS AGE
hello-eks-a-745bfcd586-6zx6b 1/1 Running 0 22m
To check the logs of the container to make sure it started successfully, type:
kubectl logs -l app=hello-eks-a
There is also a default web page being served from the container. You can forward the deployment port to your local machine with
kubectl port-forward deploy/hello-eks-a 8000:80
Now you should be able to open your browser or use curl to http://localhost:8000 to view the page example application.
curl localhost:8000
Relevant content
- asked 2 years ago
- asked 6 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 19 days ago
How would I go about installing something like "quay.io/strimzi/kafka:0.32.0-kafka-3.2.0" or nginx without being part of a cluster? install kubectl and then what??