This is the Kubefirst Frontend project that shows all the Kubefirst installed services in a single place.
- Clone this repository. You will need
nodeandyarninstalled globally on your machine. A .devcontainer configuration is provided to allow for a full-featured development environment. - Create a .env file in the root of the project
- You can copy the env values from
.env.local.exampleto have a local installation experience or you can use.env.cluster.exampleto have a cluster install experience. - Make sure you are using NodeJS >= v16.15.1
- Install dependencies
yarn install - Start the server
yarn dev - Go to
localhost:3000 - Enjoy 🥳🎉
- Build the Docker image with
docker build --tag public.ecr.aws/kubefirst/console:{version} . - Test the image with
docker run -p 8001:8080 -t public.ecr.aws/kubefirst/console:{version} - Go to
http://localhost:8001to see if the docker image is working
docker buildx build --platform linux/amd64,linux/arm64 -t public.ecr.aws/kubefirst/console:{version} --push .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 newly created AWS repository:
docker push public.ecr.aws/kubefirst/console:{version} -
Go to the Console Chart and bump up the docker version and chart version. Follow the README instructions.
- The console chart is stored in the Charts repository
- Add the following env variable in your
.envfile API_URL=http://localhost:8081
