Deployment
Regular
-
Create the namespace "regula":
kubectl create namespace regula
-
Import the secret "regula.license":
kubectl create secret generic regula-license -n regula --from-file=regula.license
-
Download the deployment file and run:
kubectl apply -f k8sface-api.yml
HTTPS via Nginx
-
Create the namespace "regula":
kubectl create namespace regula
-
Import the secret "regula.license":
kubectl create secret generic regula-license -n regula --from-file=regula.license
-
Create ConfigMap "default" from nginx config file:
kubectl create configmap default -n regula --from-file=default.conf
-
Create a TLS secret that contains a TLS private key and certificate:
kubectl create secret tls certificates -n regula --key="tls.key" --cert="tls.crt"
-
Download the deployment file and run:
kubectl apply -f k8sface-api-https.yml