Skip to content
This repository was archived by the owner on Feb 8, 2021. It is now read-only.

Conversation

@carmark
Copy link

@carmark carmark commented Oct 25, 2015

Test Request

root@ubuntu:/home/lei/src/k8s.io/kubernetes# kubectl describe rc
Name:       nginx
Namespace:  test
Image(s):   nginx
Selector:   app=nginx
Labels:     app=nginx
Replicas:   3 current / 3 desired
Pods Status:    3 Running / 0 Waiting / 0 Succeeded / 0 Failed
No volumes.
Events:
  FirstSeen LastSeen    Count   From                SubobjectPath   Reason          Message
  ─────────   ────────    ───── ────                ───────────── ──────          ───────
  30m       30m     1   {replication-controller }           SuccessfulCreate    Created pod: nginx-ljuuj
  30m       30m     1   {replication-controller }           SuccessfulCreate    Created pod: nginx-gp4bi
  30m       30m     1   {replication-controller }           SuccessfulCreate    Created pod: nginx-cq0ye
root@ubuntu:/home/lei/src/k8s.io/kubernetes# kubectl describe rc nginx --namespace=test
Name:       nginx
Namespace:  test
Image(s):   nginx
Selector:   app=nginx
Labels:     app=nginx
Replicas:   3 current / 3 desired
Pods Status:    3 Running / 0 Waiting / 0 Succeeded / 0 Failed
No volumes.
Events:
  FirstSeen LastSeen    Count   From                SubobjectPath   Reason          Message
  ─────────   ────────    ───── ────                ───────────── ──────          ───────
  30m       30m     1   {replication-controller }           SuccessfulCreate    Created pod: nginx-ljuuj
  30m       30m     1   {replication-controller }           SuccessfulCreate    Created pod: nginx-gp4bi
  30m       30m     1   {replication-controller }           SuccessfulCreate    Created pod: nginx-cq0ye
root@ubuntu:/home/lei/src/k8s.io/kubernetes# kubectl describe pods nginx-ljuuj --namespace=test
Name:               nginx-ljuuj
Namespace:          test
Image(s):           nginx
Node:               127.0.0.1/127.0.0.1
Start Time:         Sun, 25 Oct 2015 08:40:48 +0800
Labels:             app=nginx
Status:             Running
Reason:
Message:
IP:             172.17.0.18
Replication Controllers:    nginx (3/3 replicas created)
Containers:
  nginx:
    Container ID:   docker://6fa874186bbef3456525c0256b6122f8d50a313ef074f233d43e82c4c151be2d
    Image:      nginx
    Image ID:       docker://0b354d33906d30ac52d2817ea770ddce18c7531e58b5b3ca0ae78873f5d2e207
    QoS Tier:
      cpu:      BestEffort
      memory:       BestEffort
    State:      Running
      Started:      Sun, 25 Oct 2015 08:40:49 +0800
    Ready:      True
    Restart Count:  0
    Environment Variables:
Conditions:
  Type      Status
  Ready     True
Volumes:
  default-token-qftna:
    Type:   Secret (a secret that should populate this volume)
    SecretName: default-token-qftna
Events:
  FirstSeen LastSeen    Count   From            SubobjectPath               Reason      Message
  ─────────   ────────    ───── ────            ─────────────             ──────      ───────
  30m       30m     1   {scheduler }                            Scheduled   Successfully assigned nginx-ljuuj to 127.0.0.1
  30m       30m     1   {kubelet 127.0.0.1} implicitly required container POD   Pulled      Container image "gcr.io/google_containers/pause:0.8.0" already present on machine
  30m       30m     1   {kubelet 127.0.0.1} implicitly required container POD   Created     Created with docker id 9914a8fc8439
  30m       30m     1   {kubelet 127.0.0.1} implicitly required container POD   Started     Started with docker id 9914a8fc8439
  30m       30m     1   {kubelet 127.0.0.1} spec.containers{nginx}          Pulled      Container image "nginx" already present on machine
  30m       30m     1   {kubelet 127.0.0.1} spec.containers{nginx}          Created     Created with docker id 6fa874186bbe
  30m       30m     1   {kubelet 127.0.0.1} spec.containers{nginx}          Started     Started with docker id 6fa874186bbe

feiskyer added a commit that referenced this pull request Oct 25, 2015
add tenant metadata for replicationcontroller and it's pods
@feiskyer feiskyer merged commit fa86ae3 into hyperhq:master Oct 25, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants