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
- 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
- Automating Selenium Grid with vSphere Integrated ContainersThis is a simple docker-compose file that deploys a sample grid with one hub and one chrome and firefox node. Automating Selenium Grid with vSphere Integrated Containers This is a simple docker-compos ...vSphere Integrated Containers (VIC) 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
- Basic Kubernetes Tests with PKSBasic Kubernetes Tests with PKS When creating a new PKS cluster, there needs to be a starting point. How do you verify everything is working as it should? This set of instructions I built for myself a ...Tanzu Kubernetes Grid Integrated (TKGI) 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
- 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