-
Notifications
You must be signed in to change notification settings - Fork 56
feat: Add documentation about busola in k8s and adjust k8s configs #3547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
8d7152d
ingress works
dbadura 4fc041e
wip
dbadura c34619e
first version od tests adjustement
dbadura 13f3721
revert changes related to ci
dbadura c8ae781
wip
dbadura 6e305b4
adjust k8s resources to use single image
dbadura b79c481
revert changes related to backend env
dbadura 3f42b81
cleanup
dbadura 7875c80
first istio steps
dbadura a995107
finish readme and use api rule
dbadura b5e436e
improve docs
dbadura bfb8321
remove not needed env
dbadura fcfde0b
Merge branch 'main' into busola-k8s
dbadura 575accc
improve readme
dbadura c342b15
revert deletion of validation schemas
dbadura b1c5fc6
remove accident addition
dbadura b78c98d
improve cm location
dbadura 18dc70e
remove backend address calculation
dbadura 25ea0c8
Apply suggestions from code review
dbadura 2c5c145
fix hpa and mention yq
dbadura a3da831
update info about k3d
dbadura 8c6a293
Merge branch 'main' into busola-k8s
dbadura b0b31f3
fix local dev
dbadura 0ce0f6c
Apply suggestions from code review
dbadura b4819a3
Change on to in
grego952 2606242
Remove reference to port 3001 on localhost in custom extension
pbochynski f2b87c8
better naming
dbadura 063ef28
Update README.md
grego952 a26faa2
adjust running of integration tests
dbadura d52a6c9
fix hanging the tests
dbadura e646f99
redirect log
dbadura 5f2e4bc
fix tests
dbadura 95ecbe4
fix lighthouse
dbadura 6036f88
Merge branch 'main' into busola-k8s
mrCherry97 2895c05
build busola prod
dbadura 6b71bd6
fix job
dbadura 1c2c190
adjust other tests
dbadura d22af69
tmp fix for lighthouse
dbadura 22c968a
add sudo
dbadura baca096
upgrade playwritht
dbadura b06c739
fix lighthouse
dbadura 55fcd90
improve tests
dbadura 51d846e
revert changes
dbadura 25205d1
fix
dbadura 4183c33
Merge branch 'main' into busola-k8s
dbadura File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #!/usr/bin/env bash | ||
|
|
||
| # This script returns the id of the draft release | ||
|
|
||
| # standard bash error handling | ||
| set -o nounset # treat unset variables as an error and exit immediately. | ||
| set -o errexit # exit immediately when a command fails. | ||
| set -E # needs to be set if we want the ERR trap | ||
| set -o pipefail # prevents errors in a pipeline from being masked | ||
|
|
||
| npm ci | ||
| npm run build | ||
| cp -r build backend/core-ui | ||
| cd backend | ||
| npm run build | ||
| IS_DOCKER=true npm run start:prod > busola.log & | ||
| export DOMAIN=http://localhost:3001 | ||
| echo "waiting for server to be up..." | ||
| while [[ "$(curl -s -o /dev/null -w ''%{http_code}'' "$DOMAIN")" != "200" ]]; do sleep 5; done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,3 +25,5 @@ yarn-error.log* | |
|
|
||
| backend-production.js | ||
| backend-production.js.LICENSE* | ||
| core-ui | ||
| busola.log | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,12 +1,6 @@ | ||
| APP_NAME = busola-backend | ||
| IMG_NAME := $(DOCKER_PUSH_REPOSITORY)$(DOCKER_PUSH_DIRECTORY)/$(APP_NAME) | ||
| TAG := $(DOCKER_TAG) | ||
|
|
||
|
|
||
| build-image: | ||
| docker build -t $(APP_NAME) -f Dockerfile . | ||
| push-image: | ||
| docker tag $(APP_NAME):latest $(IMG_NAME):$(TAG) | ||
| docker push $(IMG_NAME):$(TAG) | ||
|
|
||
| release: build-image push-image | ||
| ##@ General | ||
| .DEFAULT_GOAL=help | ||
| .PHONY: help | ||
| .PHONY: help | ||
| help: ## Display this help. | ||
| @awk 'BEGIN {FS = ":.*##"; printf "\nUsage:\n make \033[36m<target>\033[0m\n"} /^[a-zA-Z_0-9-]+:.*?##/ { printf " \033[36m%-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.