kubectl run pod-name --image=nginx๐
We have to follow below steps to create environment for labs.
Video Tutorial : https://www.youtube.com/watch?v=GpcN97zLPpA
-
Create a Docker Hub ID
- Visit https://hub.docker.com/signup - use your personal email
-
Verify Email Address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class HelloWorld { | |
| public static void main(String[] args) { | |
| System.out.println("Hello, World!"); | |
| } | |
| } |
Video Reference : https://www.youtube.com/watch?v=lqFvoEBHSIQ&t=5s
- Ubuntu Jammy 22.04 (LTS)
- Ubuntu Focal 20.04 (LTS)
- Ubuntu Bionic 18.04 (LTS)
Video Link : https://www.youtube.com/watch?v=J5jAvJTiw68&t=187s
- Check Docker HTTPD image is available on local or not
docker images
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Author: Akshay Ithape | |
| # This Kubernetes manifest defines a ClusterIP service. | |
| apiVersion: v1 | |
| kind: Service | |
| metadata: | |
| name: my-clusterip-service # Name of the service | |
| spec: | |
| type: ClusterIP # Optional field (default) | |
| selector: | |
| app: my-app # Selects pods with the label 'app: my-app' |
๐8๐ ๐๐น๐๐๐๐ฒ๐ฟ(EKS) ๐ ๐ผ๐ป๐ถ๐๐ผ๐ฟ๐ถ๐ป๐ด ๐๐๐ถ๐ป๐ด ๐ฃ๐ฟ๐ผ๐บ๐ฒ๐๐ต๐ฒ๐๐ ๐ฎ๐ป๐ฑ ๐๐ฟ๐ฎ๐ณ๐ฎ๐ป๐ฎ
- An AWS Account
- IAM credentials and programmatic access.
- AWS credentials that are set up locally with aws configure.
- Ubuntu 22.04 LTS