Last active
January 8, 2023 10:30
-
-
Save PatrickKalkman/24bd1cac5d3f0b0167bfc9250607ca16 to your computer and use it in GitHub Desktop.
Specifying the service account so that the encoder scaler can access the encoder deployment via the Kubernetes API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: encoderscaler | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: | |
app: encoderscaler | |
strategy: | |
type: RollingUpdate | |
template: | |
metadata: | |
labels: | |
app: encoderscaler | |
spec: | |
serviceAccountName: encoder-scaler-sa | |
containers: | |
- name: encoder-scaler | |
image: encoderscaler:1.3.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment