Kubernetes dashboard comes pre-installed on each PKS cluster. The following instructions are for how create credentials and obtain the access token. If there is an easier way, please let me know.
This command only needs to be run once.
cat <
#!/bin/bash | |
set -eu | |
sudo apt-get update | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ |
#!/bin/sh | |
set -eu | |
sudo apt-get update && sudo apt-get upgrade -y | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
gnupg-agent \ |
version: '3' | |
services: | |
keycloak: | |
image: jboss/keycloak | |
restart: always | |
ports: | |
- 8080:8080 | |
networks: | |
- appnet |
management: | |
endpoints: | |
web: | |
exposure: | |
include: '*' | |
hystrix: | |
stream: | |
queue: | |
enabled: false | |
command: |
#!/bin/bash | |
wget https://gist.githubusercontent.com/roberthamel/e3a113b56d84b3516a84f9b4c4d7154a/raw/dashboard.sh | |
mv dashboard.sh dashboard | |
chmod +x dashboard | |
mv dashboard /usr/local/bin/kdash |
Kubernetes dashboard comes pre-installed on each PKS cluster. The following instructions are for how create credentials and obtain the access token. If there is an easier way, please let me know.
This command only needs to be run once.
cat <
############################################################### | |
# Cart Service | |
############################################################### | |
apiVersion: v1 | |
kind: Service | |
metadata: | |
name: carts | |
labels: | |
app: carts | |
visualize: "true" |
#!/bin/bash | |
# ci/scripts/build.sh | |
set -eu | |
pushd source-code | |
./gradlew clean assemble | |
cp build/libs/product-service-1.0.0.jar ../build-output | |
cp manifest.yml ../build-output | |
popd | |
echo "build successful" |
# ci/credentials.yml | |
gitRepository: https://github.com/<YOUR-GITHUB-USERNAME>/product-service-concourse |
# ci/credentials.yml | |
gitRepository: https://github.com/<YOUR-GITHUB-USERNAME>/product-service-concourse |