Skip to content

codygreen/voltstack_nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy NGINX Plus in a Volterra VoltStack

This demo will deploy NGINX Plus or NGINX OSS in a Volterra VoltStack via K8S manifest

Download and Set KUBECONFIG variable

From VoltConsole, you need to create and download your Kubeconfig file. Check out the Volterra documentation for instructions: https://www.volterra.io/docs/how-to/app-management/create-vk8s-obj

Once you've downloaded your Kubeconfig file, set the KUBECONFIG environment variable to point to this file:

export KUBECONFIG=ves_<your-namespace>_<your-vk8s>.yaml

Set K8S secret with DockerHub credentials

You will need to create a DockerHub PAT for this step

kubectl create secret docker-registry regcred --docker-server=https://index.docker.io/v2/ --docker-username=<your-name> --docker-password=<your-pword> --docker-email=<your-email>

Deploy NGINX Plus in VoltStack

Volterra uses VoltStack to create a virtual K8S cluster across all specified virtual sites. In this demo we will use kubectl to deploy out NGINX Plus instance from a private registry.

Note: You will need to change the .spec.template.spec.containers.image to point to your private DockerHub registry and application.

kubectl apply -f customer_edge/nginx_plus_manifest.yaml

If you are deploying in the Regional Edge there are some restrictions that require us to deploy NGINX in an unprivileged mode:

kubectl apply -f regional_edge/nginx_plus_manifest.yaml

Build NGINX OSS Container

podman build -t nginx-demo .

About

Deploy NGINX Plus in Volterra VoltStack via K8S manifest

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published