mirror of https://github.com/docker/docs.git
Updates to the iSCSI docs following kube-e2e debugging (#1185)
This commit is contained in:
parent
7a5d156cd5
commit
4e61014265
|
@ -101,7 +101,7 @@ Using the instructions in the [UCP configuration file](https://docs.docker.com/e
|
|||
help topic, update the UCP configuration file with the following options:
|
||||
|
||||
- `--storage-iscsi=true`: enables ISCSI based Persistent Volumes in Kubernetes.
|
||||
- `--iscsiadm-path=<path>`: specifies the path of the iscsiadm binary on the host. Default value is "/usr/sbin/iscsiadm".
|
||||
- `--iscsiadm-path=<path>`: specifies the absolute path of the iscsiadm binary on the host. Default value is "/usr/sbin/iscsiadm".
|
||||
- `--iscsidb-path=<path>`: specifies the path of the iscsi database on the host. Default value is “/etc/iscsi”.
|
||||
|
||||
### In-tree iSCSI volumes
|
||||
|
@ -220,11 +220,11 @@ perform the following steps:
|
|||
kind: PersistentVolumeClaim
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: iscsi-claim
|
||||
Spec:
|
||||
storageClassName: “iscsi-targetd-vg-targetd”
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
name: iscsi-claim
|
||||
spec:
|
||||
storageClassName: "iscsi-targetd-vg-targetd"
|
||||
accessModes:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: 100Mi
|
||||
|
@ -275,11 +275,11 @@ perform the following steps:
|
|||
- name: nginx
|
||||
image: nginx
|
||||
ports:
|
||||
- name: nginx
|
||||
containerPort: 80
|
||||
- name: nginx
|
||||
containerPort: 80
|
||||
volumeMounts:
|
||||
- name: iscsi
|
||||
mountPath: "/usr/share/nginx/html"
|
||||
- name: iscsi
|
||||
mountPath: "/usr/share/nginx/html"
|
||||
volumes:
|
||||
- name: iscsi
|
||||
persistentVolumeClaim:
|
||||
|
|
Loading…
Reference in New Issue