openshift: update developer guide with information about storage
Signed-off-by: David Kirwan <davidkirwanirl@gmail.com>
This commit is contained in:
parent
57c670fa90
commit
1f2a382e3e
1 changed files with 25 additions and 5 deletions
|
@ -82,20 +82,40 @@ configurations that won't work.
|
||||||
You will likely need (at a minimum) the following objects:
|
You will likely need (at a minimum) the following objects:
|
||||||
|
|
||||||
* A
|
* A
|
||||||
https://docs.openshift.com/container-platform/4.14/cicd/builds/understanding-buildconfigs.html[BuildConfig]
|
https://docs.openshift.com/container-platform/4.15/cicd/builds/understanding-buildconfigs.html[BuildConfig]
|
||||||
- This defines how your container is built.
|
- This defines how your container is built.
|
||||||
* An
|
* An
|
||||||
https://docs.openshift.com/container-platform/4.14/openshift_images/image-streams-manage.html[ImageStream]
|
https://docs.openshift.com/container-platform/4.15/openshift_images/image-streams-manage.html[ImageStream]
|
||||||
- This references a "stream" of container images and lets you trigger
|
- This references a "stream" of container images and lets you trigger
|
||||||
deployments or image builds based on changes in a stream.
|
deployments or image builds based on changes in a stream.
|
||||||
* A
|
* A
|
||||||
https://docs.openshift.com/container-platform/4.14/applications/deployments/what-deployments-are.html[Deployment]
|
https://docs.openshift.com/container-platform/4.15/applications/deployments/what-deployments-are.html[Deployment]
|
||||||
- This defines how your container is deployed (how many replicas, what
|
- This defines how your container is deployed (how many replicas, what
|
||||||
ports are available, etc)
|
ports are available, etc)
|
||||||
- Note: DeploymentConfigs are deprecated, do not use them!
|
- Note: DeploymentConfigs are deprecated, do not use them!
|
||||||
* A
|
* A
|
||||||
https://docs.openshift.com/container-platform/4.14/applications/connecting_applications_to_services/getting-started-with-service-binding.html[Service]
|
https://docs.openshift.com/container-platform/4.15/applications/connecting_applications_to_services/getting-started-with-service-binding.html[Service]
|
||||||
- An internal load balancer that routes traffic to your pods.
|
- An internal load balancer that routes traffic to your pods.
|
||||||
* A
|
* A
|
||||||
https://docs.openshift.com/container-platform/4.14/networking/routes/route-configuration.html[Route]
|
https://docs.openshift.com/container-platform/4.15/networking/routes/route-configuration.html[Route]
|
||||||
- This exposes a Service as a host name.
|
- This exposes a Service as a host name.
|
||||||
|
* Storage https://docs.openshift.com/container-platform/4.15/storage/index.html[Storage]
|
||||||
|
- On the Fedora Infra clusters in both staging and production, an automated storage provisioning system is in place. To access simply create a PVC:
|
||||||
|
|
||||||
|
----
|
||||||
|
apiVersion: v1
|
||||||
|
kind: PersistentVolumeClaim
|
||||||
|
metadata:
|
||||||
|
name: PVCNAME-UPDATE
|
||||||
|
spec:
|
||||||
|
volumeName: PVCNAME-VOL-UPDATE
|
||||||
|
accessModes:
|
||||||
|
- ReadWriteOnce
|
||||||
|
resources:
|
||||||
|
requests:
|
||||||
|
storage: 10Gi
|
||||||
|
storageClassName: 'ocs-storagecluster-cephfs'
|
||||||
|
volumeMode: Filesystem
|
||||||
|
----
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue