Repository navigation
Closed
Labels
Description
This looks like a regression @deads2k @Kargakis
$ oc status
In project default on server https://10.1.2.2:8443
svc/kubernetes - 172.30.0.1 ports 443, 53, 53
dc/deployment-simple deploys docker.io/openshift/deployment-example:v1
deployment #1 deployed about an hour ago - 2 pods
pod/deployment-simple-1-he60k runs docker.io/openshift/deployment-example:v1
pod/deployment-simple-1-j5g9a runs docker.io/openshift/deployment-example:v1
$ oc get rc,dc,pods -o yaml
apiVersion: v1
items:
- apiVersion: v1
kind: ReplicationController
metadata:
annotations:
openshift.io/deployer-pod.name: deployment-simple-1-deploy
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: deployment-simple
openshift.io/deployment.phase: Complete
openshift.io/deployment.replicas: "2"
openshift.io/encoded-deployment-config: |
{"kind":"DeploymentConfig","apiVersion":"v1","metadata":{"name":"deployment-simple","namespace":"default","selfLink":"/oapi/v1/namespaces/default/deploymentconfigs/deployment-simple","uid":"6294e4fd-00e2-11e6-8cc5-080027242396","resourceVersion":"363","creationTimestamp":"2016-04-12T19:11:39Z"},"spec":{"strategy":{"type":"Rolling","rollingParams":{"updatePeriodSeconds":1,"intervalSeconds":1,"timeoutSeconds":600,"maxUnavailable":"25%","maxSurge":"25%"},"resources":{}},"triggers":[{"type":"ConfigChange"}],"replicas":2,"test":false,"selector":{"name":"deployment-simple"},"template":{"metadata":{"creationTimestamp":null,"labels":{"name":"deployment-simple"}},"spec":{"containers":[{"name":"myapp","image":"docker.io/openshift/deployment-example:v1","resources":{},"readinessProbe":{"httpGet":{"path":"/","port":8080,"scheme":"HTTP"},"timeoutSeconds":1,"periodSeconds":10,"successThreshold":1,"failureThreshold":3},"terminationMessagePath":"/dev/termination-log","imagePullPolicy":"IfNotPresent"}],"restartPolicy":"Always","terminationGracePeriodSeconds":30,"dnsPolicy":"ClusterFirst","securityContext":{}}}},"status":{"latestVersion":1,"details":{"causes":[{"type":"ConfigChange"}]}}}
creationTimestamp: 2016-04-12T19:11:39Z
generation: 5
labels:
openshift.io/deployment-config.name: deployment-simple
name: deployment-simple-1
namespace: default
resourceVersion: "457"
selfLink: /api/v1/namespaces/default/replicationcontrollers/deployment-simple-1
uid: 6297187e-00e2-11e6-8cc5-080027242396
spec:
replicas: 2
selector:
deployment: deployment-simple-1
deploymentconfig: deployment-simple
name: deployment-simple
template:
metadata:
annotations:
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: deployment-simple
openshift.io/deployment.name: deployment-simple-1
creationTimestamp: null
labels:
deployment: deployment-simple-1
deploymentconfig: deployment-simple
name: deployment-simple
spec:
containers:
- image: docker.io/openshift/deployment-example:v1
imagePullPolicy: IfNotPresent
name: myapp
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
terminationMessagePath: /dev/termination-log
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
status:
fullyLabeledReplicas: 2
observedGeneration: 5
replicas: 2
- apiVersion: v1
kind: DeploymentConfig
metadata:
creationTimestamp: 2016-04-12T19:11:39Z
name: deployment-simple
namespace: default
resourceVersion: "363"
selfLink: /oapi/v1/namespaces/default/deploymentconfigs/deployment-simple
uid: 6294e4fd-00e2-11e6-8cc5-080027242396
spec:
replicas: 2
selector:
name: deployment-simple
strategy:
resources: {}
rollingParams:
intervalSeconds: 1
maxSurge: 25%
maxUnavailable: 25%
timeoutSeconds: 600
updatePeriodSeconds: 1
type: Rolling
template:
metadata:
creationTimestamp: null
labels:
name: deployment-simple
spec:
containers:
- image: docker.io/openshift/deployment-example:v1
imagePullPolicy: IfNotPresent
name: myapp
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
terminationMessagePath: /dev/termination-log
dnsPolicy: ClusterFirst
restartPolicy: Always
securityContext: {}
terminationGracePeriodSeconds: 30
test: false
triggers:
- type: ConfigChange
status:
details:
causes:
- type: ConfigChange
latestVersion: 1
- apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/created-by: |
{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicationController","namespace":"default","name":"deployment-simple-1","uid":"6297187e-00e2-11e6-8cc5-080027242396","apiVersion":"v1","resourceVersion":"378"}}
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: deployment-simple
openshift.io/deployment.name: deployment-simple-1
openshift.io/scc: restricted
creationTimestamp: 2016-04-12T19:11:43Z
generateName: deployment-simple-1-
labels:
deployment: deployment-simple-1
deploymentconfig: deployment-simple
name: deployment-simple
name: deployment-simple-1-he60k
namespace: default
resourceVersion: "5246"
selfLink: /api/v1/namespaces/default/pods/deployment-simple-1-he60k
uid: 6504906d-00e2-11e6-8cc5-080027242396
spec:
containers:
- image: docker.io/openshift/deployment-example:v1
imagePullPolicy: IfNotPresent
name: myapp
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
- SYS_CHROOT
privileged: false
runAsUser: 1000000000
seLinuxOptions:
level: s0:c1,c0
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-78ma3
readOnly: true
dnsPolicy: ClusterFirst
host: localhost.localdomain
imagePullSecrets:
- name: default-dockercfg-ar4lu
nodeName: localhost.localdomain
restartPolicy: Always
securityContext:
fsGroup: 1000000000
seLinuxOptions:
level: s0:c1,c0
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
volumes:
- name: default-token-78ma3
secret:
secretName: default-token-78ma3
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2016-04-12T20:18:06Z
status: "True"
type: Ready
containerStatuses:
- containerID: docker://9379e90fdf57fb10c7564d09afc105765e42a7cbad4d7025620baffcb87eac4a
image: docker.io/openshift/deployment-example:v1
imageID: docker://ccfcfc22445e58c664faea8a8d3f0d6017037cc11b39f07f174e3cda4418cd7c
lastState: {}
name: myapp
ready: true
restartCount: 0
state:
running:
startedAt: 2016-04-12T19:11:46Z
hostIP: 10.0.2.15
phase: Running
podIP: 172.17.0.3
startTime: 2016-04-12T19:11:43Z
- apiVersion: v1
kind: Pod
metadata:
annotations:
kubernetes.io/created-by: |
{"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicationController","namespace":"default","name":"deployment-simple-1","uid":"6297187e-00e2-11e6-8cc5-080027242396","apiVersion":"v1","resourceVersion":"452"}}
openshift.io/deployment-config.latest-version: "1"
openshift.io/deployment-config.name: deployment-simple
openshift.io/deployment.name: deployment-simple-1
openshift.io/scc: restricted
creationTimestamp: 2016-04-12T19:13:00Z
generateName: deployment-simple-1-
labels:
deployment: deployment-simple-1
deploymentconfig: deployment-simple
name: deployment-simple
name: deployment-simple-1-j5g9a
namespace: default
resourceVersion: "5249"
selfLink: /api/v1/namespaces/default/pods/deployment-simple-1-j5g9a
uid: 92bdf8ec-00e2-11e6-92b4-080027242396
spec:
containers:
- image: docker.io/openshift/deployment-example:v1
imagePullPolicy: IfNotPresent
name: myapp
readinessProbe:
failureThreshold: 3
httpGet:
path: /
port: 8080
scheme: HTTP
periodSeconds: 10
successThreshold: 1
timeoutSeconds: 1
resources: {}
securityContext:
capabilities:
drop:
- KILL
- MKNOD
- SETGID
- SETUID
- SYS_CHROOT
privileged: false
runAsUser: 1000000000
seLinuxOptions:
level: s0:c1,c0
terminationMessagePath: /dev/termination-log
volumeMounts:
- mountPath: /var/run/secrets/kubernetes.io/serviceaccount
name: default-token-78ma3
readOnly: true
dnsPolicy: ClusterFirst
host: localhost.localdomain
imagePullSecrets:
- name: default-dockercfg-ar4lu
nodeName: localhost.localdomain
restartPolicy: Always
securityContext:
fsGroup: 1000000000
seLinuxOptions:
level: s0:c1,c0
serviceAccount: default
serviceAccountName: default
terminationGracePeriodSeconds: 30
volumes:
- name: default-token-78ma3
secret:
secretName: default-token-78ma3
status:
conditions:
- lastProbeTime: null
lastTransitionTime: 2016-04-12T20:18:13Z
status: "True"
type: Ready
containerStatuses:
- containerID: docker://bfa927d22a0b9f2e260561e773beb779b55dcc2261171734ed8cb83ed072c179
image: docker.io/openshift/deployment-example:v1
imageID: docker://ccfcfc22445e58c664faea8a8d3f0d6017037cc11b39f07f174e3cda4418cd7c
lastState: {}
name: myapp
ready: true
restartCount: 0
state:
running:
startedAt: 2016-04-12T19:13:03Z
hostIP: 10.0.2.15
phase: Running
podIP: 172.17.0.2
startTime: 2016-04-12T19:13:01Z
kind: List
metadata: {}
Activity
fabianofranz commentedon Apr 16, 2016
@smarterclayton can you confirm the web console (project overview) behaves correctly in the same scenario?
smarterclayton commentedon Apr 16, 2016
Yes
On Apr 16, 2016, at 11:39 AM, Fabiano Franz [email protected]
wrote:
@smarterclayton https://github.com/smarterclayton can you confirm the web
console (project overview) behaves correctly in the same scenario?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
#8487 (comment)
fabianofranz commentedon Apr 19, 2016
This fixes the issue and re-enable monopods on status: #8563
smarterclayton commentedon Apr 25, 2016
Fixed by the revert