S
Size: a a a
S
VA
S
S
2019-11-01T07:06:23.991985Z info AdmissionReview for Kind=/v1, Kind=Pod Namespace=dev Name= (sortline-emulator-7455856878-***** (actual name not yet known)) UID=1d5503ea-fc76-11e9-84c9-005056a4ca9d Rfc6902PatchOperation=CREATE UserInfo={system:serviceaccount:kube-system:replicaset-controller b664c43e-fa33-11e9-a313-005056a4b6f0 [system:serviceaccounts system:serviceaccounts:kube-system system:authenticated] map[]}
2019-11-01T07:06:23.997038Z info AdmissionResponse: patch=[{"op":"add","path":"/spec/initContainers","value":[{"name":"istio-init","image":"docker.io/maistra/proxy-init-centos7:1.0.0","args":["-p","15001","-u","1000290001","-m","REDIRECT","-i","*","-x","","-b","8081","-d","15020"],"resources":{"limits":{"cpu":"100m","memory":"50Mi"},"requests":{"cpu":"10m","memory":"10Mi"}},"imagePullPolicy":"IfNotPresent","securityContext":{"capabilities":{"add":["NET_ADMIN"]},"privileged":true,"runAsUser":0,"runAsNonRoot":false}}]},{"op":"add","path":"/spec/containers/-","value":{"name":"istio-proxy","image":"docker.io/maistra/proxyv2-ubi8:1.0.0","args":["proxy","sidecar","--domain","$(POD_NAMESPACE).svc.cluster.local","--configPath","/etc/istio/proxy","--binaryPath","/usr/local/bin/envoy","--serviceCluster","sortline-emulator.$(POD_NAMESPACE)","--drainDuration","45s","--parentShutdownDuration","1m0s","--discoveryAddress","istio-pilot.istio-system:15010","--zipkinAddress","zipkin.istio-system:9411","--connectTimeout","10s","--proxyAdminPort","15000","--concurrency","2","--controlPlaneAuthPolicy","NONE","--statusPort","15020","--applicationPorts","8081"],"ports":[{"name":"http-envoy-prom","containerPort":15090,"protocol":"TCP"}],"env":[{"name":"POD_NAME","valueFrom":{"fieldRef":{"fieldPath":"metadata.name"}}},{"name":"POD_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"INSTANCE_IP","valueFrom":{"fieldRef":{"fieldPath":"status.podIP"}}},{"name":"ISTIO_META_POD_NAME","valueFrom":{"fieldRef":{"fieldPath":"metadata.name"}}},{"name":"ISTIO_META_CONFIG_NAMESPACE","valueFrom":{"fieldRef":{"fieldPath":"metadata.namespace"}}},{"name":"ISTIO_META_INTERCEPTION_MODE","value":"REDIRECT"},{"name":"ISTIO_METAJSON_ANNOTATIONS","value":"{\"openshift.io/scc\":\"restricted\",\"sidecar.istio.io/inject\":\"true\"}\n"},{"name":"ISTIO_METAJSON_LABELS","value":"{\"app\":\"sortline-emulator\",\"pod-template-hash\":\"3011412434\",\"version\":\"1.0.0\"}\n"}],"resources":{"limits":{"cpu":"500m","memory":"128Mi"},"requests":{"cpu":"100m","memory":"128Mi"}},"volumeMounts":[{"name":"istio-envoy","mountPath":"/etc/istio/proxy"},{"name":"istio-certs","readOnly":true,"mountPath":"/etc/certs/"},{"name":"default-token-vslhd","readOnly":true,"mountPath":"/var/run/secrets/kubernetes.io/serviceaccount"}],"readinessProbe":{"httpGet":{"path":"/healthz/ready","port":15020},"initialDelaySeconds":1,"periodSeconds":2,"failureThreshold":30},"imagePullPolicy":"IfNotPresent","securityContext":{"capabilities":{"drop":["KILL","SETUID","SETGID","MKNOD"]},"runAsUser":1000290001,"readOnlyRootFilesystem":true}}},{"op":"add","path":"/spec/volumes/-","value":{"name":"istio-envoy","emptyDir":{"medium":"Memory"}}},{"op":"add","path":"/spec/volumes/-","value":{"name":"istio-certs","secret":{"secretName":"istio.default","optional":true}}},{"op":"add","path":"/spec/securityContext","value":{"seLinuxOptions":{"level":"s0:c17,c9"},"fsGroup":1000290000}},{"op":"add","path":"/metadata/annotations/sidecar.istio.io~1status","value":"{\"version\":\"6b04e85739f1403fffb8d884c85399b611f4221a74088a66f82345eb79a64ec8\",\"initContainers\":[\"istio-init\"],\"containers\":[\"istio-proxy\"],\"volumes\":[\"istio-envoy\",\"istio-certs\"],\"imagePullSecrets\":null}"}]
S
S
S
S
S
A
## LoggingВ логах
openshift_logging_install_logging: true
openshift_logging_es_ops_nodeselector: {"node-role.kubernetes.io/infra":"true"}
openshift_logging_es_nodeselector: {"node-role.kubernetes.io/infra":"true"}
es-master
показывается, что 10 нод не соотвествует лейблу, у 7 не хватает памяти.A
MS
MS
A
A
VR
## LoggingВ логах
openshift_logging_install_logging: true
openshift_logging_es_ops_nodeselector: {"node-role.kubernetes.io/infra":"true"}
openshift_logging_es_nodeselector: {"node-role.kubernetes.io/infra":"true"}
es-master
показывается, что 10 нод не соотвествует лейблу, у 7 не хватает памяти.openshift_logging_*_memory_limit
A
A
A