Skip to content

Commit d4d1a58

Browse files
authored
Merge pull request #932 from amacaskill/update-overlays-documentation
Update overlay documentation
2 parents 8a300ae + 38a6b63 commit d4d1a58

File tree

6 files changed

+74
-72
lines changed

6 files changed

+74
-72
lines changed

CHANGELOG/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# CHANGELOGs
22

3+
- [CHANGELOG v1.3.0](./CHANGELOG-1.4.md)
4+
- [CHANGELOG v1.3.0](./CHANGELOG-1.3.md)
5+
- [CHANGELOG v1.2.0](./CHANGELOG-1.2.md)
6+
- [CHANGELOG v1.1.0](./CHANGELOG-1.1.md)
37
- [CHANGELOG v1.0.0](./CHANGELOG-1.0.md)
48
- [CHANGELOG v0.7.0](./CHANGELOG-0.7.md)
59
- [CHANGELOG v0.6.0](./CHANGELOG-0.6.md)

Dockerfile.debug

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,5 +38,5 @@ COPY --from=mad-hack /lib/udev/scsi_id /lib/udev_containerized/scsi_id
3838

3939
# PDCSI driver isn't copied to / because of delve not being able to correlate
4040
# the binary and the source code, instead just run the binary where it was
41-
# compiled, the overlay noauth-dev calls this binary
41+
# compiled, the overlay noauth-debug calls this binary
4242
ENTRYPOINT ["/go/src/sigs.k8s.io/gcp-compute-persistent-disk-csi-driver/bin/gce-pd-csi-driver"]

README.md

+6-5
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,11 @@ The following table captures the compatibility matrix of the core persistent dis
4040
| dev | yes |
4141

4242
The manifest bundle which captures all the driver components (driver pod which includes the containers csi-provisioner, csi-resizer, csi-snapshotter, gce-pd-driver, csi-driver-registrar;
43-
csi driver object, rbacs, pod security policies etc) can be picked up from the master branch [overlays](deploy/kubernetes/overlays) directory. We structure the overlays directory, per minor version of kubernetes because not all driver components can be used with all kubernetes versions. For example, v1 CSIDriver resources are supported in 1.18+ only, so [stable-1-17](deploy/kubernetes/overlays/stable-1-17) driver manifests use the v1beta1 version.
43+
csi driver object, rbacs, pod security policies etc) can be picked up from the master branch [overlays](deploy/kubernetes/overlays) directory. We structure the overlays directory, per minor version of kubernetes because not all driver components can be used with all kubernetes versions.
4444

4545
Example:
4646

47-
`stable-1-19` overlays bundle can be used to deploy all the components of the driver on kubernetes 1.19.
47+
`stable-1-21` overlays bundle can be used to deploy all the components of the driver on kubernetes 1.21.
4848

4949
`stable-master` overlays bundle can be used to deploy all the components of the driver on kubernetes master.
5050

@@ -79,9 +79,10 @@ GCE PD driver starts to support CSI Windows with [CSI Proxy] (https://github.com
7979

8080
| Feature | Stage | Min Kubernetes Master Version | Min Kubernetes Nodes Version | Min Driver Version | Deployment Overlay |
8181
|-----------------|-------|-------------------------------|------------------------------|--------------------|--------------------|
82-
| Snapshots | Beta | 1.17 | Any | v1.0.0 | stable-1-17, stable-1-18, stable-1-19, stable-master |
83-
| Resize (Expand) | Beta | 1.16 | 1.16 | v0.7.0 | stable-1-17, stable-1-18, stable-1-19, stable-master |
84-
| Windows* | Beta | 1.18 | 1.18 | v1.1.0 | stable-1-18, stable-1-19, stable-master |
82+
| Snapshots | GA | 1.17 | Any | v1.0.0 | stable-1-21, stable-1-22, stable-1-23, stable-master |
83+
| Clones | GA | 1.18 | Any | v1.4.0 | stable-1-21, stable-1-22, stable-1-23, stable-master |
84+
| Resize (Expand) | Beta | 1.16 | 1.16 | v0.7.0 | stable-1-21, stable-1-22, stable-1-23, stable-master |
85+
| Windows* | GA | 1.19 | 1.19 | v1.1.0 | stable-1-21, stable-1-22, stable-1-23, stable-master |
8586

8687
\* For Windows, it is recommended to use this driver with CSI proxy v0.2.2+. The master version of driver requires disk v1beta2 group, which is only available in CSI proxy v0.2.2+
8788

deploy/kubernetes/README.md

+15-17
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,22 @@
55
The current structure for kustomization is as follows. Note that Windows support is currently an alpha feature.
66

77
* `base`: It contains the setup that is common to different driver versions.
8-
* `controller_setup`: Includes cluster setup and controller yaml files.
9-
* `node_setup`:
10-
* Linux: Includes node yaml file and related setting that is only applicable for Linux.
11-
* Windows: Includes node yaml file and related setting that is only applicable for Windows.
12-
* `images`: It has a list of images for different versions.
13-
* `stable-master`: Image list of a stable driver for latest k8s master.
14-
* `alpha`: Image list containing features in development, in addition to images in `stable-master`. It also includes Windows images.
15-
* `prow-gke-release-xxx`: Image list used for Prow tests.
16-
* `overlays`: It has the k8s minor version-specific driver manifest bundle.
8+
* `controller`: Includes cluster setup and controller yaml files.
9+
* `node_linux`: Includes node yaml file and related setting that is only applicable for Linux.
10+
* `node_windows`: Includes node yaml file and related setting that is only applicable for Windows.
11+
* `images`: Contains driver and sidecar image versions for the various [overlays](deploy/kubernetes/overlays/).
12+
* `stable-master`: Image versions for the stable-master overlay.
13+
* `stable-{k8s-minor}`: Image versions for the stable-{k8s-minor} overlays.
14+
* `prow-stable-sidecar-rc-master`: Image versions for the prow-stable-sidecar-rc-master overlay.
15+
* `prow-canary-sidecar`: Image versions for the prow-canary-sidecar overlay.
16+
* `overlays`: Contains various k8s resources driver manifest bundles used to deploy all the components of the driver.
1717
* `stable-master`: Contains deployment specs of a stable driver for k8s master.
18-
* `stable-{k8s-minor}`: Contains deployment specs of a stable driver for given k8s minor version release.
19-
* `alpha`: Contains deployment specs for features in development. Both Linux and Windows are supported.
20-
* `dev`: Based on alpha, and also contains the developer's specs for use in driver development.
21-
* `noauth-debug`: Based on alpha, used for debugging purposes only, see docs/kubernetes/development.md.
22-
* `prow-gke-release-staging-rc-master`: Used for prow tests. Contains deployment specs of a driver for latest k8s master.
23-
* `prow-gke-release-staging-rc-{k8s-minor}`: Used for prow tests. Contains deployment specs of a driver for given k8s minor version release.
24-
* `prow-gke-release-staging-rc-head`: Used for prow tests. Contains deployment specs of a driver with latest sidecar images, for latest k8s master.
25-
* `stable`, `prow-gke-release-staging-rc`: Soon to be removed!
18+
* `stable-{k8s-minor}`: Contains deployment specs of a stable driver for given k8s minor version release.
19+
* `dev`: Based on stable-master, and also contains the developer's specs for use in driver development.
20+
* `noauth` Based on stable-master, patches the [base controller configuration](deploy/kubernetes/base/controller.yaml) to remove any dependencies on service account keys.
21+
* `noauth-debug`: Based on stable-master, used for debugging purposes only, see docs/kubernetes/development.md.
22+
* `prow-stable-sidecar-rc-master`: Used for prow tests on OSS testgrid to test the latest sidecars. Contains deployment specs of a driver with k8s master branch, driver latest release candidate, and stable sidecars.
23+
* `prow-canary-sidecar`: Used for prow tests on OSS testgrid to test release candidates when a new release is being cut. Contains deployment specs of a driver with k8s master branch, Kubernetes driver latest build, and canary sidecars.
2624

2725
## NVME support
2826
udev folder under deploy/kubernetes contains google_nvme_id script required for NVME support. Source is downloaded from [GoogleCloudPlatform/guest-configs](https://github.com/GoogleCloudPlatform/guest-configs). README file in the folder contains the downloaded version.

0 commit comments

Comments
 (0)