little-river-49422
02/16/2019, 7:30 PMcreamy-potato-29402
02/16/2019, 8:05 PMv1/List
of only `Service`slittle-river-49422
02/16/2019, 8:05 PMcreamy-potato-29402
02/16/2019, 8:05 PMnamespace
because it is not instantiated by the API server.kubectl get
for examplelittle-river-49422
02/16/2019, 8:07 PMcreamy-potato-29402
02/16/2019, 8:07 PMService
.little-river-49422
02/16/2019, 8:08 PMcreamy-potato-29402
02/16/2019, 8:08 PMnew core.v1.Service
little-river-49422
02/16/2019, 8:08 PMcreamy-potato-29402
02/16/2019, 8:08 PMitems
little-river-49422
02/16/2019, 8:10 PMcreamy-potato-29402
02/16/2019, 8:10 PMnew ServiceList
with Pulumi, it tells Pulumi to create all the `Service`s inside.kubectl get svc
happens to return a ServiceList
. But if you kubectl apply
a ServiceList
, it will create/update those `Service`slittle-river-49422
02/16/2019, 8:12 PMcreamy-potato-29402
02/16/2019, 8:13 PMList
types. In practice I don’t think they’re useful in the context of Pulumi. In an apply
they are really only useful if you have a single JSON document and you want to create a bunch of services..get
little-river-49422
02/16/2019, 8:13 PMcreamy-potato-29402
02/16/2019, 8:15 PMlittle-river-49422
02/16/2019, 8:19 PM