k3s/examples
Kubernetes Submit Queue c5c1706f22 Merge pull request #38137 from obnoxxx/gluster-dp-gid-fix
Automatic merge from submit-queue (batch tested with PRs 38076, 38137, 36882, 37634, 37558)

glusterfs: Fix all gid types to int to prevent failures on 32bit systems

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:

The glusterfs dynamic provisioner with GID security has an issue on 32 bit systems.
This fixes that issue by forcing all gid types to int internally.
<!--
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:
-->

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
Fix the glusterfs dynamic provisioner for 32bit systems by limiting the gids to type int internally, and allowing 2147483647 as the highest GID.
```

This makes all types int until we hand the GID to heketi/gluster,
at which point it's converted to int64.

It also limits the maximum usable GID ti math.MaxInt32 = 2147483647.

Signed-off-by: Michael Adam <obnox@redhat.com>
2016-12-05 19:25:51 -08:00
..
apiserver Stratify certificate loading and self-sign cert generation 2016-12-05 14:58:15 +01:00
cluster-dns Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
cockroachdb Remove initialized annotation from statefulset examples 2016-11-23 10:40:42 -08:00
elasticsearch Merge pull request #34894 from allancaffee/patch-1 2016-11-28 11:44:39 -08:00
experimental/persistent-volume-provisioning Merge pull request #38137 from obnoxxx/gluster-dp-gid-fix 2016-12-05 19:25:51 -08:00
explorer Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
guestbook fix munge-docs build errors 2016-11-17 16:49:00 +01:00
guestbook-go Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
https-nginx Update https-nginx example README and inotifywait cmd 2016-11-10 09:14:02 -08:00
javaee Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
javaweb-tomcat-sidecar Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
job Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
k8petstore Fix notice in redis-slave example 2016-11-23 10:16:16 +01:00
kubectl-container Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
meteor Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
mysql-cinder-pd Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
mysql-wordpress-pd Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
newrelic Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
nodesjs-mongodb Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
openshift-origin Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
phabricator Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
podsecuritypolicy/rbac Remove a few versioned-warnings that snuck in, again 2016-11-18 13:28:46 -08:00
runtime-constraints Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
selenium Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
sharing-clusters Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
spark Remove namespaces from all examples. 2016-11-11 11:57:33 -08:00
storage Remove alpha limitation on PetSet in cassandra example 2016-11-23 10:44:05 -08:00
storm Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
sysdig-cloud Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
volumes Update gluster setup readme. 2016-11-13 12:17:55 +05:30
BUILD add genrule for test bindata 2016-10-24 18:00:08 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
README.md Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
examples_test.go Rename PetSet to StatefulSet in docs and examples. 2016-11-05 00:17:28 -07:00
guidelines.md Fix typos and linted_packages sorting 2016-10-31 18:31:08 +01:00
pod examples/pod: Revert the previous changes. 2016-09-13 15:09:25 -07:00
scheduler-policy-config-with-extender.json fix scheduler extender example 2016-12-01 15:26:47 +08:00
scheduler-policy-config.json Ubernetes Lite: Volumes can dictate zone scheduling 2015-12-31 12:27:01 -05:00
simple-nginx.md Remove 'this is HEAD' warning on docs 2016-10-26 00:06:59 +02:00

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.

Analytics