Skip to content

Instantly share code, notes, and snippets.

@svkrclg
Created January 28, 2023 11:06
Show Gist options
  • Save svkrclg/c448447bd24a519277a47053acd1ef6b to your computer and use it in GitHub Desktop.
Save svkrclg/c448447bd24a519277a47053acd1ef6b to your computer and use it in GitHub Desktop.
Envoy k8s deployment
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
application: envoy
name: envoy
namespace: default
spec:
replicas: 2
strategy:
type: Recreate
template:
metadata:
labels:
browserstack.com/application: envoy
browserstack.com/component: envoy
spec:
containers:
- image: bitnami/envoy
imagePullPolicy: Always
name: envoy
ports:
- containerPort: 80
resources:
requests:
memory: "200Mi"
cpu: "200m"
ephemeral-storage: "80Mi"
limits:
memory: "200Mi"
cpu: "200m"
volumeMounts:
- mountPath: /opt/bitnami/envoy/conf/envoy.yaml
name: my-config
subPath: envoy.yaml
restartPolicy: Always
volumes:
- name: my-config
configMap:
name: envoy-config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment