Skip to content

Instantly share code, notes, and snippets.

@freyes
Last active January 6, 2025 16:09
Show Gist options
  • Save freyes/54fe897278f3f239da6bd4dd29aa6cda to your computer and use it in GitHub Desktop.
Save freyes/54fe897278f3f239da6bd4dd29aa6cda to your computer and use it in GitHub Desktop.
#!/bin/bash
kubectl apply -n zuul -f - <<EOF
apiVersion: v1
kind: Service
metadata:
name: fake-service
spec:
type: LoadBalancer
ports:
- port: 80
targetPort: 80
selector:
app: fake-service
EOF
sleep 30
kubectl describe service -n zuul fake-service
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment