Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save alena1108/1951668a8f5cd993e87124aea7b8fad7 to your computer and use it in GitHub Desktop.
Save alena1108/1951668a8f5cd993e87124aea7b8fad7 to your computer and use it in GitHub Desktop.
resource change event
{name: "resource.change",…}
data
:
{actions: {}, baseType: "service", clusterIp: "10.99.233.79", created: "2018-05-09T20:32:22Z",…}
actions
:
{}
baseType
:
"service"
clusterIp
:
"10.99.233.79"
created
:
"2018-05-09T20:32:22Z"
createdTS
:
1525897942000
creatorId
:
null
healthCheckNodePort
:
0
id
:
"default:nginx-service"
kind
:
"ClusterIP"
labels
:
{k8s-app: "nginx-service"}
links
:
{remove: "https://localhost:8443/v3/project/local:project-2t6gk/services/default:nginx-service",…}
name
:
"nginx-service"
namespaceId
:
"default"
ports
:
[{name: "http", nodePort: 0, port: 80, protocol: "TCP", targetPort: 80,…}]
projectId
:
"local:project-2t6gk"
publishNotReadyAddresses
:
false
selector
:
{k8s-app: "nginx-service"}
sessionAffinity
:
"None"
state
:
"active"
transitioning
:
"no"
transitioningMessage
:
""
type
:
"service"
uuid
:
"139a4705-53c8-11e8-9ee7-0800272720c3"
workloadId
:
null
name
:
"resource.change"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment