- 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 | |
clusterRouterBase: ---->[CHANGE ME]<------- | |
dynamic: | |
plugins: | |
- package: "@microcks/microcks-backstage-provider@0.0.5" | |
integrity: sha512-/Pre7TmeJkVgPrdfTiG0wcYpZ1KM14/AE8kSwUfVGtae4k4/lqaUfMnexnp75ujXHItm+iuSWvCRNhOvEw3PuA== | |
pluginConfig: |
--- | |
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: microcks-pvc | |
labels: | |
app: microcks | |
spec: | |
resources: | |
requests: |
asyncapi: '3.0.0' | |
id: 'urn:io.microcks.example.user-signedup' | |
info: | |
title: User signed-up API | |
version: 0.1.1 | |
description: Sample AsyncAPI for user signedup events | |
defaultContentType: application/json | |
servers: | |
production: | |
host: localhost:9092 |
global: | |
auth: | |
backend: | |
enabled: true | |
dynamic: | |
plugins: | |
- package: "@microcks/microcks-backstage-provider@0.0.5" | |
integrity: sha512-/Pre7TmeJkVgPrdfTiG0wcYpZ1KM14/AE8kSwUfVGtae4k4/lqaUfMnexnp75ujXHItm+iuSWvCRNhOvEw3PuA== | |
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 |