IMPORTANT
I don't recommend using `colima`_ on macOS. Proceed either with `Docker Desktop`_ or `Podman Desktop`_.
IMPORTANT
I don't recommend using `colima`_ on macOS. Proceed either with `Docker Desktop`_ or `Podman Desktop`_.
IMPORTANT
I don't recommend using `colima`_ on macOS. Proceed either with `Docker Desktop`_ or `Podman Desktop`_.
| # Source: https://gist.github.com/6955a3fa05665c6b8bb7a3a48ebbdd23 | |
| ########################################## | |
| # DevSpace # | |
| # Development Environments in Kubernetes # | |
| # https://youtu.be/nQly_CEjJc4 # | |
| ########################################## | |
| # Referenced videos: | |
| # - How To Create Virtual Kubernetes Clusters With vcluster By loft: https://youtu.be/JqBjpvp268Y |
| aws elb describe-load-balancers | |
| kubectl config view | |
| kubectl create -f https://raw.githubusercontent.com/kubernetes/kops/master/addons/ingress-nginx/v1.6.0.yaml | |
| kubectl --namespace kube-ingress get all | |
| aws elb describe-load-balancers |
| // assume this is some list of things you're going to do something with | |
| def someList | |
| def parallelBranches = someList.collectEntries { n -> | |
| [(n): { | |
| throttle('category') { | |
| node('some-node') { | |
| // do some things with n | |
| } | |
| } | |
| }] |
| def applications = env.APPLICATIONS.split(",").findAll { it }.collect { it.trim() } | |
| def environment = env.ENVIRONMENT | |
| def version = env.VERSION | |
| def jobs = [:] | |
| if (applications.size() < 1) { | |
| error("ERROR: APPLICATIONS must be a comma-delimited list of applications to build") | |
| } | |
| for (int i = 0; i < applications.size(); i++) { |
| /* | |
| * Variable bindings: | |
| * user - credentials plugin user | |
| * url - git repository url (.git) | |
| */ | |
| import com.cloudbees.plugins.credentials.CredentialsProvider; | |
| import com.cloudbees.plugins.credentials.common.StandardUsernamePasswordCredentials; | |
| import jenkins.model.Jenkins |
| #!/bin/bash | |
| PLUGIN=$1 | |
| VERSION=$2 | |
| UC=$3 | |
| if [ -z "$PLUGIN" ] | |
| then | |
| echo 'Usage: uc-grep short-name [core-version [https://jenkins-updates.cloudbees.com/update-center/envelope-core-mm/]]' | |
| exit 1 | |
| fi | |
| if [ -z "$VERSION" ] |
| java -jar yourApp.jar [JVM_OPTIONS] | |
| For local host access only JVM_OPTIONS are: | |
| -Dcom.sun.management.jmxremote | |
| -Dcom.sun.management.jmxremote.port=9010 | |
| -Dcom.sun.management.jmxremote.host=127.0.0.1 | |
| -Dcom.sun.management.jmxremote.local.only=true | |
| -Dcom.sun.management.jmxremote.authenticate=false | |
| -Dcom.sun.management.jmxremote.ssl=false |