Run WunderGraph on any Kubernetes cluster. Best Practices included!
- Running kubernetes cluster (OKE, GKE, AKE or minikube)
kbld
for image building, pushing, and resolutionkubectl
to interact with your cluster
.
└── app/
├── .wundergraph/
│ ├── generated
│ ├── wundergraph.config.ts
│ ├── wundergraph.server.ts
│ └── wundergraph.operations.ts
├── Dockerfile
├── .dockerignore
└── package.json
Deploy your WunderGraph application to your kubernetes cluster. The application is exposed via a service of type load-balancer
which makes your application accessible to the public internet.
Before you can deploy your WunderNode you need to provide your own docker repository. Replace docker.io/wundergraph/kubernetes-demo
in ./k8s/build-push.yaml
with your own repository and run:
make deploy
This command will build and push a production ready docker image to the registry and deploy all kubernetes files under ./k8s
. We use the tool kbld
for that seeamless integration.
# Checkout the ip in "LoadBalancer Ingress"
make get-ip
curl 'http://${IP}/operations/Hello' \
--header 'Content-Type: application/json'
Start your local development environment.
make dev
Checkout the makefile
for documentation and other commands.