diff --git a/k8s/argocd/nodeport.yaml b/k8s/argocd/nodeport.yaml new file mode 100644 index 0000000..91f1d99 --- /dev/null +++ b/k8s/argocd/nodeport.yaml @@ -0,0 +1,24 @@ +apiVersion: v1 +kind: Service +metadata: + name: argocd-server-nodeport + namespace: argocd + labels: + app.kubernetes.io/component: server + app.kubernetes.io/name: argocd-server + app.kubernetes.io/part-of: argocd +spec: + type: NodePort + ports: + - name: http + port: 80 + protocol: TCP + targetPort: 8080 + nodePort: 30080 # Questa sarĂ  30080 sull'IP del nodo + - name: https + port: 443 + protocol: TCP + targetPort: 8080 + nodePort: 30443 # Questa sarĂ  30443 sull'IP del nodo + selector: + app.kubernetes.io/name: argocd-server \ No newline at end of file