Kubefirst API that serves console frontend
- Locally:
KUBEFIRST_VERSION=1.9.9 HOSTED_ZONE_NAME=gh.mgmt.kubefirst.com go run .
- Docker: build
docker build -f build/Dockerfile -t api .
and rundocker run -d -p 3000:3000 -t -e KUBEFIRST_VERSION={kubefirstVersion} -e HOSTED_ZONE_NAME={hostedZoneName} api
- Docker compose:
docker-compose up -d
- Build the docker image:
docker build -f build/Dockerfile --tag public.ecr.aws/kubefirst/api:{version} .
- Test the docker image
docker run -d -p 3000:3000 -t public.ecr.aws/kubefirst/console:{version}
- Go to
http://localhost:3000/healthz
and check the response
Note: You might need an AWS Managament Account
- Retrieve an authentication token and authenticate your Docker client to your registry.
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws/kubefirst
- Run the following command to push this image to your ECR repository:
docker push public.ecr.aws/kubefirst/api:{version}
- Go to the API Chart and bump up the docker version and chart version. Follow the README instructions.
- The Api chart is stored in the Charts repository