Skip to content

Instantly share code, notes, and snippets.

@vyta
Created October 10, 2024 00:12
Show Gist options
  • Save vyta/b6e8dffd8630989955313e8217e4b9ac to your computer and use it in GitHub Desktop.
Save vyta/b6e8dffd8630989955313e8217e4b9ac to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: fortio
name: fortio
spec:
replicas: 1
selector:
matchLabels:
app: fortio
template:
metadata:
labels:
app: fortio
name: fortio
spec:
containers:
- name: fortio-server
image: fortio/fortio
imagePullPolicy: Always
ports:
- containerPort: 8080
- containerPort: 8079
args:
- server
---
apiVersion: v1
kind: Service
metadata:
name: fortio
spec:
ports:
- port: 8079
name: grpc-ping
- port: 8080
name: http2-fortio
selector:
app: fortio
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment