Thursday, August 31, 2023

NGINX DEPLOYMENT IN SANDBOX

 



An Nginx deployment refers to the process of configuring and running Nginx, which is a popular open-source web server and reverse proxy server. Nginx is known for its high performance, scalability, and ability to handle a large number of concurrent connections.

Single deployment example in the open shift.

Use the yml file for the NGINX Deployment.
apiVersion: apps/v1
kind: Deployment
metadata:
  name: nginx-deployment
spec:
  selector:
    matchLabels:
      app: nginx
  replicas: 2 # tells deployment to run 2 pods matching the template
  template:
    metadata:
      labels:
        app: nginx
    spec:
      containers:
      - name: nginx
        image: nginx:1.14.2
        ports:
        - containerPort: 80
 

Nginx Deployment Information.


The user interface for the deployment.


End Of Notes.

No comments:

Post a Comment