apiVersion: cms.kyma-project.io/v1alpha1
kind: DocsTopic
metadata:
name: slack
labels:
cms.kyma-project.io/view-context: service-catalog
spec:
Disclaimer: This is just for fun, to play with Kyma on something different then K8s cluster, Minikube or KIND. Do not use on production and at home.
#Install Multipass
brew cask install multipass
#Get VM with Ubuntu that is large enough
multipass launch --name k3s --mem 8G --disk 20G
title |
---|
Chuck Norris |
Are Chuck Norris' way of telling the world that sometimes corn needs to lie down.
Chuck Norris doesn't have to sleep with one eye open, he can see through his eyelids Chuck Norris can slam a revolving door White sharks have extra rows of teeth in case they bite Chuck Norris by mistake, Crop circles are Chuck Norris' way of telling the world that sometimes corn needs to lie down Chuck Norris does not get frostbite. Chuck Norris bites frost. Windows 7 was Chuck Norris's Idea. Fool me once, shame on you. Fool Chuck Norris once and he will roundhouse you in the face, Chuck Norris is ten feet tall, weighs two-tons, breathes fire, and could eat a hammer and take a shotgun blast standing, Chuck Norris is ten feet tall, weighs two-tons, breathes fire, and could eat a hammer and take a shotgun blast standing. Chuck Norris has two speeds. Walk, and Kill, Chuck Norris has a Roundhouse Kick button on his Facebook page, and when he deletes a friend they actually die Chuck No
# Set ENV variables. See sample values in comments:
export KYMA_VERSION={KYMA_RELEASE_VERSION} # 1.8.0
export CLUSTER_NAME={CLUSTER_NAME_YOU_WANT} # kyma-cluster
export GCP_PROJECT={YOUR_GCP_PROJECT} # myproject
export GCP_ZONE={GCP_ZONE_TO_DEPLOY_TO} # europe-west1-b
# Create a cluster
gcloud container --project "$GCP_PROJECT" clusters \
create "$CLUSTER_NAME" --zone "$GCP_ZONE" \
--cluster-version "1.14" --machine-type "n1-standard-4" \
echo 'Kyma Console Url:'
echo `kubectl get virtualservice core-console -n kyma-system -o jsonpath='{ .spec.hosts[0] }'`
echo 'User admin@kyma.cx, password:'
echo `kubectl get secret admin-user -n kyma-system -o jsonpath="{.data.password}" | base64 --decode`
It is a script that I use to setup my forks. You perform such a setup only once. This means you do not do it very often. I'm not an elephant, I don't remember commands I use rarely. I like to have these things in scripts.
Use the script by passing two variables: bash conf_fork.sh <ORG_NAME> <REPO_NAME> <MASTER_OR_MAIN>
For example. If you want to contribute to generator to AsyncAPI and you forked the repo, then run the following in your terminal in the root of the repository:
bash conf_fork.sh asyncapi generator master
asyncapi: 2.0.0 | |
info: | |
title: Example with Avro | |
version: 0.1.0 | |
channels: | |
example: | |
publish: | |
message: | |
schemaFormat: 'application/vnd.apache.avro;version=1.9.0' | |
payload: # The following is an Avro schema in YAML format (JSON format is also supported) |
asyncapi: 2.0.0 | |
info: | |
title: Kraken Websockets API | |
version: '1.8.0' | |
description: | | |
WebSockets API offers real-time market data updates. WebSockets is a bidirectional protocol offering fastest real-time data, helping you build real-time applications. The public message types presented below do not require authentication. Private-data messages can be subscribed on a separate authenticated endpoint. | |
### General Considerations |
Homebrew build logs for asyncapi on macOS 11 | |
Build date: 2021-12-28 12:34:51 |