Created a sample replication controller yaml file in kubernetes. Container pods were created using the nginx image used in the yaml file by availing AWS services. These pods were exposed to the internet by creating a sample service yaml file. nodeport is used to expose the container to internet. I have used nodeport: 31333 (NodePort range is 30000-32767) Any nodeport in the available range mentioned above can be used.
prasant2020 / replication-controller-kubernetes Goto Github PK
View Code? Open in Web Editor NEWCreated a sample replication controller yaml file and service yaml file in kubernetes.