Can't create a service
See original GitHub issueThe TargetPort
of a service is set as a string https://github.com/tintoy/dotnet-kube-client/blob/master/src/KubeClient/Models/generated/ServicePortV1.cs#L46, which fails when trying to create a service.
Exception message : “Unable to create v1/Service resource in namespace ‘…’.\nInvalid: Service "my-service" is invalid: spec.ports[0].targetPort: Invalid value: "9376": must contain at least one letter or number (a-z, 0-9)”
I think it needs different serialisation depending if it’s an integer or string value: e.g. https://github.com/kubernetes-client/csharp/blob/master/src/KubernetesClient/generated/Models/V1ServicePort.cs#L113 and https://github.com/kubernetes-client/csharp/blob/master/src/KubernetesClient/IntstrIntOrString.cs#L6-L19
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (6 by maintainers)
Top Results From Across the Web
Unable to create service - android
I'm new to android and creating a service in one of my reminder application. but I my service is triggering when i call...
Read more >Can not create a service request in the Office365 portal
Hello I can not create a service request through the Office365 portal. I am the administrator of the portal. When I click Support...
Read more >Cannot create a Service Instance with the error "Service ...
This issue happens when you try to create multiple service instances for specific service in the same space but the service does not...
Read more >Cannot create a service request
In the Security Groups application, open the security group for the service request. · On the Object Structures tab, select the MXAPISR object...
Read more >How to Fix Fortnite Cannot create service (StartService failed
In this video, I will show you how to fix Fortnite Cannot create service (StartService failed: 1058) error or Couldn't start the game...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Working - thanks!
I’m going to create a custom union type and converter - should hopefully have it all done and published by the end of this weekend 😃