Skip to content

konstructio/console

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kubefirst Console App

This is the Kubefirst Frontend project that shows all the Kubefirst installed services in a single place.

ConsoleApp

Setup Instructions

  • Clone this repository. You will need node and yarn installed 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.example to have a local installation experience or you can use .env.cluster.example to 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 🥳🎉

Publish Docker image to ECR

Build the Docker image

  • 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:8001 to see if the docker image is working

Multiplatform build

docker buildx build --platform linux/amd64,linux/arm64 -t public.ecr.aws/kubefirst/console:{version} --push .

Push Docker Image to ECR

Note: You might need an AWS Managament Account

  1. 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

  2. Run the following command to push this image to your newly created AWS repository: docker push public.ecr.aws/kubefirst/console:{version}

  3. Go to the Console Chart and bump up the docker version and chart version. Follow the README instructions.

Chart

  1. The console chart is stored in the Charts repository

Cluster Management (Local mode)

  1. Add the following env variable in your .env file
  2. API_URL=http://localhost:8081