Skip to content

Commit

Permalink
use service for cello
Browse files Browse the repository at this point in the history
  • Loading branch information
szab100 committed Oct 3, 2022
1 parent 76d20dd commit 40ef4c0
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 4 deletions.
15 changes: 14 additions & 1 deletion scripts/quickstart_manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,20 @@ spec:
app: postgres

# CELLO

---
apiVersion: v1
kind: Service
metadata:
name: cello
labels:
app: cello
spec:
type: NodePort
ports:
- port: 8443
targetPort: 8443
selector:
app: cello
---
apiVersion: apps/v1
kind: Deployment
Expand Down
6 changes: 3 additions & 3 deletions scripts/quickstart_run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ trap kill_jobs SIGINT
echo "Exposing Argo UI & API on http://localhost:2746/"
argo server --secure=false --auth-mode=server >/dev/null 2>&1 &

echo "Cello started, forwarding to port 8443"
export CELLO_POD="$(kubectl get pods --field-selector status.phase=Running --no-headers -o custom-columns=":metadata.name" | grep cello)"
kubectl port-forward $CELLO_POD 8443:8443 &
CELLO_LOCAL_PORT=8443
echo "Cello started, forwarding to port $CELLO_LOCAL_PORT"
kubectl port-forward service/cello $CELLO_LOCAL_PORT:8443 &
wait

0 comments on commit 40ef4c0

Please sign in to comment.