Skip to content

Instantly share code, notes, and snippets.

@danielezonca
Created April 2, 2020 11:43
Show Gist options
  • Select an option

  • Save danielezonca/8340f719cbd74e7d69015d37e1fe5675 to your computer and use it in GitHub Desktop.

Select an option

Save danielezonca/8340f719cbd74e7d69015d37e1fe5675 to your computer and use it in GitHub Desktop.
apiVersion: apps/v1
kind: Deployment
metadata:
name: sample-kogito
namespace: cloud-sweet-cloud
spec:
selector:
matchLabels:
app: sample-kogito
replicas: 1
template:
metadata:
labels:
app: sample-kogito
spec:
containers:
- name: sample-kogito
image: quay.io/danielezonca/home-automation-poc
ports:
- containerPort: 8080
env:
- name: CAMERA_HOST
value: "source.unsplash.com"
- name: CAMERA_PORT
value: "443"
- name: CAMERA_SSL
value: "true"
- name: CAMERA_ENDPOINT
value: "1600x900"
- name: CAMERA_QUERY
value: "face=1"
- name: PLAYER_HOST
value: "api.quotable.io"
- name: PLAYER_PORT
value: "443"
- name: PLAYER_SSL
value: "true"
- name: PLAYER_ENDPOINT
value: "random"
- name: RECOGNITION_SERVICE_HOST
value: "localhost"
- name: RECOGNITION_SERVICE_PORT
value: "8181"
- name: RECOGNITION_SERVICE_SSL
value: "false"
- name: RECOGNITION_SERVICE_ENDPOINT
value: "/"
- name: TELEGRAM_HOST
value: "api.quotable.io"
- name: TELEGRAM_PORT
value: "443"
- name: TELEGRAM_SSL
value: "true"
- name: TELEGRAM_ENDPOINT
value: "random"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment