add a nodeport for argo
This commit is contained in:
parent
5d15b15bf1
commit
d63ac07da1
1 changed files with 16 additions and 0 deletions
|
|
@ -63,3 +63,19 @@ spec:
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: argo-nodeport
|
||||||
|
namespace: argocd
|
||||||
|
spec:
|
||||||
|
type: NodePort
|
||||||
|
ports:
|
||||||
|
- port: 443 # The port you want to expose
|
||||||
|
targetPort: 8080 # The port the service is listening on internally
|
||||||
|
nodePort: 30000 # Choose a NodePort value within the allowed range (30000-32767)
|
||||||
|
selector:
|
||||||
|
app: argocd-server # Selector to match the pods of the original service
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue