fix formatting around persistent-volume-binder (#9334)

* fix formatting around persistent-volume-binder

* Update release-notes.md
This commit is contained in:
ada mancini 2019-09-02 06:36:56 -04:00 committed by Olly P
parent 92e6db7bfd
commit a1c1661116
1 changed files with 18 additions and 18 deletions

View File

@ -256,24 +256,24 @@ In order to optimize user experience and security, support for Internet Explorer
$ sudo yum downgrade container-selinux-2.74-1.el7 $ sudo yum downgrade container-selinux-2.74-1.el7
``` ```
- Attempts to deploy local PV fail with regular UCP configuration unless PV binder SA is bound to cluster admin role. - Attempts to deploy local PV fail with regular UCP configuration unless PV binder SA is bound to cluster admin role.
- Workaround: Create a `ClusterRoleBinding` that binds the `persistent-volume-binder` serviceaccount - Workaround: Create a `ClusterRoleBinding` that binds the `persistent-volume-binder` serviceaccount to a `cluster-admin` `ClusterRole`, as shown in the following example:
to a `cluster-admin` `ClusterRole`, as shown in the following example:
``` ```
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
labels: labels:
subjectName: kube-system-persistent-volume-binder subjectName: kube-system-persistent-volume-binder
name: kube-system-persistent-volume-binder:cluster-admin name: kube-system-persistent-volume-binder:cluster-admin
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: ClusterRole kind: ClusterRole
name: cluster-admin name: cluster-admin
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: persistent-volume-binder name: persistent-volume-binder
namespace: kube-system namespace: kube-system
``` ```
- Using iSCSI on a SLES 12 or SLES 15 Kubernetes cluster results in failures - Using iSCSI on a SLES 12 or SLES 15 Kubernetes cluster results in failures
- Using Kubernetes iSCSI on SLES 12 or SLES 15 hosts results in failures. Kubelet logs might have errors similar to the following, when there's an attempt to attach the iSCSI based persistent volume: - Using Kubernetes iSCSI on SLES 12 or SLES 15 hosts results in failures. Kubelet logs might have errors similar to the following, when there's an attempt to attach the iSCSI based persistent volume: