Skip to content

A collection of kubernetes things for ngen applications

Notifications You must be signed in to change notification settings

NGeniusGaming/kubernetes-things

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

NGEN Kubernetes

A collection of kubernetes yamls and such for NGEN.

This repository is a small collection of kubernetes yamls used to set up the NGEN kubernetes cluster.

NOTE

Never commit secrets / passwords / anything else senstive to this repository. It is public. Secrets are to be managed directly in the cluster in order to prevent leaking sensitive data.

Example command to create a secret:

kubectl create secret generic my-secret --from-literal=username=my-username --from-literal=password=my-password

Example command to update a secret:

kubectl create secret generic my-secret --from-literal=foo=bar --dry-run=client -o yaml \
    | kubectl apply -f -

Traefik

Traefik is used as our ingress provider and SSL certbot.

Traefik is installed via it's public helm chart (traefik/traefik). The traefik-values.yaml is used to customize the traefik install.

command to update / install (must have helm cli installed on your computer):

helm upgrade --install -n ingress -f traefik-values.yaml traefik traefik/traefik

What does this command do?

  • upgrades or installs the helm chart located at traefik/traefik (helm chart repository)
  • the release is named traefik
  • override values from the file (-f) traefik-values.yaml
  • install to the namespace (-n) ingress (must be previously created)

About

A collection of kubernetes things for ngen applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published