VMware Sample Exchange
Browse and download code samples from VMware as well as code samples contributed by the VMware community. Log in to Sample Exchange using your MyVMware credentials to submit requests for new samples, contribute your own samples, as well as propose a sample as a solution for open requests.
Disclaimer: All sample content and code in Sample Exchange is licensed to you by the sample's author. VMware does not guarantee the samples; they are provided "AS IS". Use of this site is subject to the VMware Community Terms of Use.
Browse the list below for code samples from VMware and the community. You can filter the list of samples by selecting a platform or language, or enter other search keywords above.
Filters
Type
SDK / Platform / Tool
Contributor
Language
- Deploying Cloudbees on PKSDeploying Cloudbees on PKS Instructions to get Cloudbees Core deployed on Kubernetes Cluster operated by PKS nstall Cloudbees Core on PKS ( assumes NSX T Load Balancers are available for service creat ...Tanzu Kubernetes Grid Integrated (TKGI) Other Language
- VMware Cloud PKS scriptsScripts used with VMware Cloud PKS (formerly VKE) including: Smart cluster creation and clean up Cluster auth context switching App deployments to smart clustersVMC PKS - Deprecated Shell Script
- Automating Apache Spark with vSphere Integrated ContainersThe docker-compose file covers bringing up a Apache Spark cluster with 1 Master and 1 Worker node. Furthermore, the container is modified to scale dynamically to add/remove worker nodes from the Spark ...vSphere Integrated Containers (VIC) Other Language
- Automating provisioning of Highly Available Elastic Stack clusterThis is a simple docker-compose file to provision a higly avaialbe Elastic Stack cluster with 3 Elastic Search Nodes, 2 Logstash Nodes and 2 Kibana Nodes. Set the COMPOSE_TLS_VERSION correctly This is ...vSphere Integrated Containers (VIC) Other Language
- Installing OpenFaaS on Pivotal Container Service with HelmThe OpenFaaS documentation for faas-netes gives a clear explanation of how to install with Helm, but Pivotal Container Service (PKS) has 2 caveats since provisoned Kubernetes clusters are non-RBAC but ...Tanzu Kubernetes Grid Integrated (TKGI) Shell Script
- Install Harbor via Bash on CentOS 7Harbor is an Open Source Project that is sponsored by VMware and is currently being sandboxed by the CNCF. It's a container registry that has all the bells and whistles that include Clair for CVE (cri ...Tanzu Kubernetes Grid Integrated (TKGI) VMC PKS - Deprecated vSphere Integrated Containers (VIC) Shell Script
- vke-completionAn bash autocompletion script for the VMware Kubernetes Engine CLI. Usage Source vke_bash_completion.sh from your runcom file (.bash_profile, ,bashrc, etc.) or source it from your current shell. sourc ...VMC PKS - Deprecated Shell Script
- vke-cli-extendedAdd features to enhance the developer experience of the VMware Kubernetes Engine CLI vke cli-extended vke_wrapper is very experimental so use at your own risk. It is used to to enhaunce the developer ...VMC PKS - Deprecated Shell Script
- vke-promptAdd a VKE prompt to your shell `PS1`. Usage Source this script from your runcom file (.bash_profile, .bashrc. etc) and, in a new shell, enter $ vke_prompt on to display the VKE prompt. Remove the VKE ...VMC PKS - Deprecated Shell Script
- XaaS blueprint to deploy a Virtual Container Host on vSphereXaaS blueprint in vRealize Automation to create a fast self-service offering of Virtual Container Hosts. For the list of steps and tutorial please take a look at this blog post: https://blogs.vmware. ...vRealize Automation vRealize Orchestrator Plug-in SDK vRO Workflow