Skip to content

Instantly share code, notes, and snippets.

@mgencur
Last active April 3, 2020 08:57
Show Gist options
  • Save mgencur/2b2d5b4ce5216514afc0d6e2c3007684 to your computer and use it in GitHub Desktop.
Save mgencur/2b2d5b4ce5216514afc0d6e2c3007684 to your computer and use it in GitHub Desktop.
>>> revisions.serving.knative.dev
- apiVersion: serving.knative.dev/v1
kind: Revision
metadata:
annotations:
serving.knative.dev/creator: [email protected]
serving.knative.dev/lastPinned: "1585680755"
creationTimestamp: "2020-03-31T18:52:27Z"
generateName: pizzaplanet-service1-
generation: 1
labels:
serving.knative.dev/configuration: pizzaplanet-service1
serving.knative.dev/configurationGeneration: "1"
serving.knative.dev/route: pizzaplanet-service1
serving.knative.dev/service: pizzaplanet-service1
name: pizzaplanet-service1-kmpln
namespace: serving-tests
ownerReferences:
- apiVersion: serving.knative.dev/v1
blockOwnerDeletion: true
controller: true
kind: Configuration
name: pizzaplanet-service1
uid: d10af8a0-c32f-4d47-9695-911353fa813b
resourceVersion: "60829"
selfLink: /apis/serving.knative.dev/v1/namespaces/serving-tests/revisions/pizzaplanet-service1-kmpln
uid: 16488f9e-2fa6-4721-aee4-381e0aafa6dd
spec:
containerConcurrency: 0
containers:
- image: gcr.io/knative-boskos-51/kserving-e2e-img/29265/pizzaplanetv1:latest
name: user-container
readinessProbe:
successThreshold: 1
tcpSocket:
port: 0
resources: {}
timeoutSeconds: 300
status:
conditions:
- lastTransitionTime: "2020-03-31T18:53:32Z"
message: The target is not receiving traffic.
reason: NoTraffic
severity: Info
status: "False"
type: Active
- lastTransitionTime: "2020-03-31T18:52:31Z"
status: "True"
type: ContainerHealthy
- lastTransitionTime: "2020-03-31T18:52:31Z"
status: "True"
type: Ready
- lastTransitionTime: "2020-03-31T18:52:28Z"
status: "True"
type: ResourcesAvailable
imageDigest: gcr.io/knative-boskos-51/kserving-e2e-img/29265/pizzaplanetv1@sha256:34b0c655af900b85aee1d6ae0e55e626beb44f95f0096ba2be4ee9cb31ee290f
logUrl: http://localhost:8001/api/v1/namespaces/knative-monitoring/services/kibana-logging/proxy/app/kibana#/discover?_a=(query:(match:(kubernetes.labels.knative-dev%2FrevisionUID:(query:'16488f9e-2fa6-4721-aee4-381e0aafa6dd',type:phrase))))
observedGeneration: 1
serviceName: pizzaplanet-service1-kmpln
- apiVersion: serving.knative.dev/v1
kind: Revision
metadata:
annotations:
serving.knative.dev/creator: [email protected]
serving.knative.dev/lastPinned: "1585680753"
creationTimestamp: "2020-03-31T18:52:28Z"
generateName: pizzaplanet-service1-
generation: 1
labels:
serving.knative.dev/configuration: pizzaplanet-service1
serving.knative.dev/configurationGeneration: "1"
serving.knative.dev/route: pizzaplanet-service1
serving.knative.dev/service: pizzaplanet-service1
name: pizzaplanet-service1-zzx58
namespace: serving-tests
ownerReferences:
- apiVersion: serving.knative.dev/v1
blockOwnerDeletion: true
controller: true
kind: Configuration
name: pizzaplanet-service1
uid: d10af8a0-c32f-4d47-9695-911353fa813b
resourceVersion: "60747"
selfLink: /apis/serving.knative.dev/v1/namespaces/serving-tests/revisions/pizzaplanet-service1-zzx58
uid: 64ce71e5-481c-4a73-977e-ff69423a1c0b
spec:
containerConcurrency: 0
containers:
- image: gcr.io/knative-boskos-51/kserving-e2e-img/29265/pizzaplanetv1:latest
name: user-container
readinessProbe:
successThreshold: 1
tcpSocket:
port: 0
resources: {}
timeoutSeconds: 300
status:
conditions:
- lastTransitionTime: "2020-03-31T18:53:31Z"
message: The target is not receiving traffic.
reason: NoTraffic
severity: Info
status: "False"
type: Active
- lastTransitionTime: "2020-03-31T18:52:32Z"
status: "True"
type: ContainerHealthy
- lastTransitionTime: "2020-03-31T18:52:32Z"
status: "True"
type: Ready
- lastTransitionTime: "2020-03-31T18:52:29Z"
status: "True"
type: ResourcesAvailable
imageDigest: gcr.io/knative-boskos-51/kserving-e2e-img/29265/pizzaplanetv1@sha256:34b0c655af900b85aee1d6ae0e55e626beb44f95f0096ba2be4ee9cb31ee290f
logUrl: http://localhost:8001/api/v1/namespaces/knative-monitoring/services/kibana-logging/proxy/app/kibana#/discover?_a=(query:(match:(kubernetes.labels.knative-dev%2FrevisionUID:(query:'64ce71e5-481c-4a73-977e-ff69423a1c0b',type:phrase))))
observedGeneration: 1
serviceName: pizzaplanet-service1-zzx58
>>> routes.serving.knative.dev
- apiVersion: serving.knative.dev/v1
kind: Route
metadata:
annotations:
serving.knative.dev/creator: [email protected]
serving.knative.dev/lastModifier: [email protected]
creationTimestamp: "2020-03-31T18:52:27Z"
finalizers:
- routes.serving.knative.dev
generation: 1
labels:
serving.knative.dev/service: pizzaplanet-service1
name: pizzaplanet-service1
namespace: serving-tests
ownerReferences:
- apiVersion: serving.knative.dev/v1
blockOwnerDeletion: true
controller: true
kind: Service
name: pizzaplanet-service1
uid: 0a05ac8e-d765-44c9-9aa7-635fbecd2658
resourceVersion: "60962"
selfLink: /apis/serving.knative.dev/v1/namespaces/serving-tests/routes/pizzaplanet-service1
uid: 84a68ae5-e450-427f-b5aa-5947785eba7e
spec:
traffic:
- configurationName: pizzaplanet-service1
latestRevision: true
percent: 100
status:
address:
url: http://pizzaplanet-service1.serving-tests.svc.cluster.local
conditions:
- lastTransitionTime: "2020-03-31T18:52:33Z"
status: "True"
type: AllTrafficAssigned
- lastTransitionTime: "2020-03-31T18:56:47Z"
status: "True"
type: IngressReady
- lastTransitionTime: "2020-03-31T18:56:47Z"
status: "True"
type: Ready
observedGeneration: 1
traffic:
- latestRevision: true
percent: 100
revisionName: pizzaplanet-service1-kmpln
url: http://pizzaplanet-service1.serving-tests.example.com
>>> services.serving.knative.dev
- apiVersion: serving.knative.dev/v1
kind: Service
metadata:
annotations:
serving.knative.dev/creator: [email protected]
serving.knative.dev/lastModifier: [email protected]
creationTimestamp: "2020-03-31T18:52:27Z"
generation: 1
name: pizzaplanet-service1
namespace: serving-tests
resourceVersion: "60963"
selfLink: /apis/serving.knative.dev/v1/namespaces/serving-tests/services/pizzaplanet-service1
uid: 0a05ac8e-d765-44c9-9aa7-635fbecd2658
spec:
template:
metadata:
creationTimestamp: null
spec:
containerConcurrency: 0
containers:
- image: gcr.io/knative-boskos-51/kserving-e2e-img/29265/pizzaplanetv1:latest
name: user-container
readinessProbe:
successThreshold: 1
tcpSocket:
port: 0
resources: {}
timeoutSeconds: 300
traffic:
- latestRevision: true
percent: 100
status:
address:
url: http://pizzaplanet-service1.serving-tests.svc.cluster.local
conditions:
- lastTransitionTime: "2020-03-31T18:56:35Z"
status: Unknown
type: ConfigurationsReady
- lastTransitionTime: "2020-03-31T18:56:47Z"
status: Unknown
type: Ready
- lastTransitionTime: "2020-03-31T18:56:47Z"
status: "True"
type: RoutesReady
latestCreatedRevisionName: pizzaplanet-service1-zzx58
latestReadyRevisionName: pizzaplanet-service1-kmpln
observedGeneration: 1
traffic:
- latestRevision: true
percent: 100
revisionName: pizzaplanet-service1-kmpln
url: http://pizzaplanet-service1.serving-tests.example.com
>>> configurations.serving.knative.dev
- apiVersion: serving.knative.dev/v1
kind: Configuration
metadata:
annotations:
serving.knative.dev/creator: [email protected]
serving.knative.dev/lastModifier: [email protected]
creationTimestamp: "2020-03-31T18:52:27Z"
generation: 1
labels:
serving.knative.dev/route: pizzaplanet-service1
serving.knative.dev/service: pizzaplanet-service1
name: pizzaplanet-service1
namespace: serving-tests
ownerReferences:
- apiVersion: serving.knative.dev/v1
blockOwnerDeletion: true
controller: true
kind: Service
name: pizzaplanet-service1
uid: 0a05ac8e-d765-44c9-9aa7-635fbecd2658
resourceVersion: "60808"
selfLink: /apis/serving.knative.dev/v1/namespaces/serving-tests/configurations/pizzaplanet-service1
uid: d10af8a0-c32f-4d47-9695-911353fa813b
spec:
template:
metadata:
creationTimestamp: null
spec:
containerConcurrency: 0
containers:
- image: gcr.io/knative-boskos-51/kserving-e2e-img/29265/pizzaplanetv1:latest
name: user-container
readinessProbe:
successThreshold: 1
tcpSocket:
port: 0
resources: {}
timeoutSeconds: 300
status:
conditions:
- lastTransitionTime: "2020-03-31T18:56:33Z"
status: Unknown
type: Ready
latestCreatedRevisionName: pizzaplanet-service1-zzx58
latestReadyRevisionName: pizzaplanet-service1-kmpln
observedGeneration: 1
>> leases.coordination.k8s.io
apiVersion: v1
items:
- apiVersion: coordination.k8s.io/v1
kind: Lease
metadata:
creationTimestamp: "2020-03-31T18:52:26Z"
name: controller
namespace: knative-serving
resourceVersion: "64402"
selfLink: /apis/coordination.k8s.io/v1/namespaces/knative-serving/leases/controller
uid: f95251c1-d209-4db2-9941-4c3bfe70737e
spec:
acquireTime: "2020-03-31T18:52:26.614917Z"
holderIdentity: controller-5cc8947997-mq8cs_03648c29-9751-4347-8fc5-dd24e93d4fcc
leaseDurationSeconds: 15
leaseTransitions: 0
renewTime: "2020-03-31T19:02:30.095835Z"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment