Skip to content

A seed project to create an application deployment

Notifications You must be signed in to change notification settings

ocalvet/kubernetes-seed

Repository files navigation

kubernetes-seed

A seed project to create an application deployment in this case I will use it to deploy the seed react project

Initial Steps

  1. Create a cluster $ gcloud container clusters create --preemptible --machine-type n1-standard-1 --max-nodes 3 [cluster_name]
  2. Deploy the sample google app $ kubectl run web --image=gcr.io/google-samples/hello-app:1.0 --port=8080
  3. Create a service $ kubectl expose deployment web --target-port=8080 --type=ClusterIP
  • Traefik
  1. Create Traefik Role Bindings $ kubectl apply -f traefik-rbac.yaml
  • If you encounter an error you migh need to give your user access: $ kubectl create clusterrolebinding cluster-admin-binding --clusterrole=cluster-admin --user=[[email protected]]
  1. Create Traefik DaemonSet $

reference: Traefik

About

A seed project to create an application deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published