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
| _format_version: "3.0" | |
| _transform: true | |
| services: | |
| - name: request_callout | |
| url: https://echo-api.3scale.net/ | |
| routes: | |
| - name: request_callout | |
| hosts: | |
| - callout.dev |
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
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| name: llm-storage | |
| spec: | |
| accessModes: | |
| - ReadWriteOnce | |
| volumeMode: Filesystem | |
| resources: | |
| requests: |
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
| cat <<EOF | kind create cluster --config=- | |
| kind: Cluster | |
| apiVersion: kind.x-k8s.io/v1alpha4 | |
| nodes: | |
| - role: control-plane | |
| extraPortMappings: | |
| - containerPort: 80 | |
| hostPort: 80 | |
| protocol: TCP | |
| - containerPort: 443 |
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
| global: | |
| auth: | |
| backend: | |
| enabled: true | |
| clusterRouterBase: ---->[CHANGE ME]<------- | |
| dynamic: | |
| plugins: | |
| - package: "@microcks/[email protected]" | |
| integrity: sha512-/Pre7TmeJkVgPrdfTiG0wcYpZ1KM14/AE8kSwUfVGtae4k4/lqaUfMnexnp75ujXHItm+iuSWvCRNhOvEw3PuA== | |
| pluginConfig: |
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
| --- | |
| apiVersion: v1 | |
| kind: PersistentVolumeClaim | |
| metadata: | |
| name: microcks-pvc | |
| labels: | |
| app: microcks | |
| spec: | |
| resources: | |
| requests: |
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
| 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 |
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
| global: | |
| auth: | |
| backend: | |
| enabled: true | |
| dynamic: | |
| plugins: | |
| - package: "@microcks/[email protected]" | |
| integrity: sha512-/Pre7TmeJkVgPrdfTiG0wcYpZ1KM14/AE8kSwUfVGtae4k4/lqaUfMnexnp75ujXHItm+iuSWvCRNhOvEw3PuA== | |
| pluginConfig: | |
| catalog: |
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
| 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"}]}' |
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
| 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 |
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
| - route: | |
| id: route-a9b9 | |
| from: | |
| uri: direct | |
| id: from-a59c | |
| parameters: | |
| name: target | |
| steps: | |
| - log: | |
| message: ${body} |
NewerOlder