mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 42835, 42974) VSAN policy support for storage volume provisioning inside kubernetes The vsphere users will have the ability to specify custom Virtual SAN Storage Capabilities during dynamic volume provisioning. You can now define storage requirements, such as performance and availability, in the form of storage capabilities during dynamic volume provisioning. The storage capability requirements are converted into a Virtual SAN policy which are then pushed down to the Virtual SAN layer when a storage volume (virtual disk) is being created. The virtual disk is distributed across the Virtual SAN datastore to meet the requirements. For example, User creates a storage class with VSAN storage capabilities: > kind: StorageClass > apiVersion: storage.k8s.io/v1beta1 > metadata: > name: slow > provisioner: kubernetes.io/vsphere-volume > parameters: > hostFailuresToTolerate: "2" > diskStripes: "1" > cacheReservation: "20" > datastore: VSANDatastore The vSphere Cloud provider provisions a virtual disk (VMDK) on VSAN with the policy configured to the disk. When you know storage requirements of your application that is being deployed on a container, you can specify these storage capabilities when you create a storage class inside Kubernetes. @pdhamdhere @tthole @abrarshivani @divyenpatel **Release note**: ```release-note None ``` |
||
---|---|---|
.. | ||
cluster-dns | ||
cockroachdb | ||
elasticsearch | ||
explorer | ||
guestbook | ||
guestbook-go | ||
https-nginx | ||
javaee | ||
javaweb-tomcat-sidecar | ||
job | ||
k8petstore | ||
kubectl-container | ||
meteor | ||
mysql-cinder-pd | ||
mysql-wordpress-pd | ||
newrelic | ||
nodesjs-mongodb | ||
oms | ||
openshift-origin | ||
persistent-volume-provisioning | ||
phabricator | ||
podsecuritypolicy/rbac | ||
runtime-constraints | ||
selenium | ||
sharing-clusters | ||
spark | ||
storage | ||
storm | ||
sysdig-cloud | ||
volumes | ||
BUILD | ||
OWNERS | ||
README.md | ||
doc.go | ||
examples_test.go | ||
guidelines.md | ||
pod | ||
scheduler-policy-config-with-extender.json | ||
scheduler-policy-config.json | ||
simple-nginx.md |
README.md
Kubernetes Examples: releases.k8s.io/HEAD
This directory contains a number of examples of how to run real applications with Kubernetes.
Demonstrations of how to use specific Kubernetes features can be found in our documents.
Maintained Examples
Maintained Examples are expected to be updated with every Kubernetes release, to use the latest and greatest features, current guidelines and best practices, and to refresh command syntax, output, changed prerequisites, as needed.
Name | Description | Notable Features Used | Complexity Level | |
---|---|---|---|---|
Guestbook | PHP app with Redis | Replication Controller, Service | Beginner | |
WordPress | WordPress with MySQL | Deployment, Persistent Volume with Claim | Beginner | |
Cassandra | Cloud Native Cassandra | Daemon Set | Intermediate |
Note: Please add examples to the list above that are maintained.
See Example Guidelines for a description of what goes in this directory, and what examples should contain.