Add files via upload #217
This file contains 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: anya-bot # The name of your bot deployment | |
spec: | |
replicas: 1 # Set the number of pods to run (1 pod for now) | |
selector: | |
matchLabels: | |
app: anya-bot # Label selector to match the pod's label | |
template: | |
metadata: | |
labels: | |
app: anya-bot # Label the pod with the 'anya-bot' label | |
spec: | |
containers: | |
- name: anya-bot # Name of the container inside the pod | |
image: anya-devs/anya-bot:latest # Replace with your actual image name | |
ports: | |
- containerPort: 80 # Port the container will expose (adjust as needed) | |
envFrom: | |
- configMapRef: | |
name: anya-bot-config # Reference to the ConfigMap for environment variables |