mirror of
https://github.com/kerberos-io/deployment.git
synced 2026-08-23 15:18:32 +00:00
update to node port
This commit is contained in:
@@ -70,4 +70,10 @@ Once you applied this value, the other values like `MONGODB_USERNAME`, `MONGODB_
|
||||
Create the config map in the `kerberos-vault` namespace.
|
||||
|
||||
kubectl create namespace kerberos-vault
|
||||
kubectl apply -f ./mongodb/mongodb-config.yaml -n kerberos-vault
|
||||
kubectl apply -f ./mongodb-config.yaml -n kerberos-vault
|
||||
|
||||
### Deployment
|
||||
|
||||
To install the Kerberos Vault web app inside your cluster, simply execute below `kubectl` command. This will create the deployment for us with the necessary configurations, and exposed it on internal/external IP address, thanks to our `LoadBalancer` MetalLB or cloud provider.
|
||||
|
||||
kubectl apply -f ./kerberos-vault/deployment.yaml -n kerberos-vault
|
||||
|
||||
@@ -86,10 +86,12 @@ metadata:
|
||||
labels:
|
||||
app: vault
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
#type: LoadBalancer # You might want to use a loadbalancer if you are on a cloud provider (or using MetalLB).
|
||||
type: NodePort
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 80
|
||||
nodePort: 30080 # You can specify a port in the range 30000-32767 or let Kubernetes assign one automatically
|
||||
name: frontend
|
||||
protocol: TCP
|
||||
selector:
|
||||
|
||||
Reference in New Issue
Block a user