- Start minikube (I'm using mac so driver is hyperkit
minikube start --cpus 4 --memory 8192 --driver hyperkit
- Enable ingress addon
global: | |
auth: | |
backend: | |
enabled: true | |
dynamic: | |
plugins: | |
- package: "@microcks/microcks-backstage-provider@0.0.4" | |
integrity: sha512-2VPN+9v0wje5mLz/9MxjQoBc2n8wMucb+TjkcOBCqRwDg6IHzgBJYmUwmzuuWDep7GSuFO5kpZXkixB2jwsb+Q== | |
pluginConfig: | |
catalog: |
az login | |
az account set --subscription <YOUR_SUBSCRIPTION> | |
export KUBECONFIG=~/tmp/kube-azure | |
az aks get-credentials --resource-group k8s --name skupper | |
kubectl create namespace skupper | |
kubectl create secret docker-registry rh--pull-secret --docker-server registry.redhat.io --docker-username <PULL_SECRET_USER> --docker-password <PULL_SECRET_PASSWORD> | |
kubectl create sa skupper-service-controller | |
kubectl create sa skupper-router | |
kubectl create sa skupper-prometheus | |
kubectl patch serviceaccounts skupper-prometheus -p '{"imagePullSecrets":[{"name":"rh--pull-secret"}]}' |
kind: Deployment | |
apiVersion: apps/v1 | |
metadata: | |
annotations: | |
app.openshift.io/connects-to: '[{"apiVersion":"apps/v1","kind":"Deployment","name":"zkless-kafka"}]' | |
app.openshift.io/route-disabled: 'false' | |
name: kafka-ui | |
labels: | |
app: kafka-ui | |
app.kubernetes.io/component: kafka-ui |
- route: | |
id: route-a9b9 | |
from: | |
uri: direct | |
id: from-a59c | |
parameters: | |
name: target | |
steps: | |
- log: | |
message: ${body} |
public class Cat { | |
private final String name; | |
public Cat(String name) { | |
this.name = name; | |
} | |
public String getName() { | |
return name; |
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: console | |
--- | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: console-serviceaccount |
apiVersion: microcks.github.io/v1alpha1 | |
kind: MicrocksInstall | |
metadata: | |
name: microcks | |
spec: | |
# Add fields here | |
name: microcks | |
version: "latest" | |
microcks: | |
replicas: 1 |
--- | |
kind: PersistentVolumeClaim | |
apiVersion: v1 | |
metadata: | |
name: apicuriodata | |
spec: | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: |