sparse-intern-71089
09/17/2020, 12:23 PMfierce-memory-34976
09/17/2020, 12:28 PMworried-city-86458
09/17/2020, 7:57 PM<http://networking.k8s.io/v1beta1|networking.k8s.io/v1beta1>?cool-fireman-90027
09/17/2020, 8:02 PMvar ingress = new Kubernetes.Networking.V1Beta1.Ingress("test-ingress", new Pulumi.Kubernetes.Types.Inputs.Networking.V1.IngressArgs
{
ApiVersion = "<http://networking.k8s.io/v1|networking.k8s.io/v1>",
Kind = "Ingress",
Metadata = new ObjectMetaArgs
{
Annotations = new InputMap<string>
{
{"<http://kubernetes.io/ingress.global-static-ip-name|kubernetes.io/ingress.global-static-ip-name>", "ip-dev" },
//{"<http://networking.gke.io/managed-certificates|networking.gke.io/managed-certificates>", "" }
}
},
Spec = new Pulumi.Kubernetes.Types.Inputs.Networking.V1.IngressSpecArgs
{
DefaultBackend = new Pulumi.Kubernetes.Types.Inputs.Networking.V1.IngressBackendArgs
{
Service = new Pulumi.Kubernetes.Types.Inputs.Networking.V1.IngressServiceBackendArgs
{
Name = "test-service-nodeportapi",
Port = new Pulumi.Kubernetes.Types.Inputs.Networking.V1.ServiceBackendPortArgs
{
Number = 80
},
},
},
},
});worried-city-86458
09/17/2020, 8:39 PMApiVersion and Kind properties as they're set by the Ingress ctor.worried-city-86458
09/17/2020, 8:40 PMIngress class you're instantiatingworried-city-86458
09/17/2020, 8:41 PMPulumi.Kubernetes.Networking.V1.Ingress or Pulumi.Kubernetes.Networking.V1Beta1.Ingress or the older Pulumi.Kubernetes.Extensions.V1Beta1.Ingress.No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.
Powered by