We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kubernetes C# SDK Client Version e.g. 9.0.38
9.0.38
Server Kubernetes Version e.g. 1.22.10
1.22.10
Dotnet Runtime Version e.g. net6
Describe the bug when id call this
var res = client.CoreV1.DeleteNamespacedService(Name, Namespace);
exceptions throw below,and this Service deleted successfully!
Service
The JSON value could not be converted to k8s.Models.V1ServiceStatus. Path: $.status | LineNumber: 0 | BytePositionInLine: 67. 在 System.Text.Json.ThrowHelper.ThrowJsonException_DeserializeUnableToConvertValue(Type propertyType) 在 System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) 在 System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) 在 System.Text.Json.Serialization.Metadata.JsonPropertyInfo`1.ReadJsonAndSetMember(Object obj, ReadStack& state, Utf8JsonReader& reader) 在 System.Text.Json.Serialization.Converters.ObjectDefaultConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) 在 System.Text.Json.Serialization.JsonConverter`1.TryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options, ReadStack& state, T& value) 在 System.Text.Json.Serialization.JsonConverter`1.ReadCore(Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) 在 System.Text.Json.JsonSerializer.ReadCore[TValue](JsonConverter jsonConverter, Utf8JsonReader& reader, JsonSerializerOptions options, ReadStack& state) 在 System.Text.Json.JsonSerializer.ReadCore[TValue](JsonReaderState& readerState, Boolean isFinalBlock, ReadOnlySpan`1 buffer, JsonSerializerOptions options, ReadStack& state, JsonConverter converterBase) 在 System.Text.Json.JsonSerializer.ContinueDeserialize[TValue](ReadBufferState& bufferState, JsonReaderState& jsonReaderState, ReadStack& readStack, JsonConverter converter, JsonSerializerOptions options) 在 System.Text.Json.JsonSerializer.ReadAll[TValue](Stream utf8Json, JsonTypeInfo jsonTypeInfo) 在 System.Text.Json.JsonSerializer.ReadAllUsingOptions[TValue](Stream utf8Json, Type returnType, JsonSerializerOptions options) 在 System.Text.Json.JsonSerializer.Deserialize[TValue](Stream utf8Json, JsonSerializerOptions options) 在 k8s.KubernetesJson.Deserialize[TValue](Stream json) 在 k8s.Kubernetes.<CreateResultAsync>d__37`1.MoveNext() 在 k8s.AbstractKubernetes.<k8s-ICoreV1Operations-DeleteNamespacedServiceWithHttpMessagesAsync>d__144.MoveNext() 在 k8s.CoreV1OperationsExtensions.<DeleteNamespacedServiceAsync>d__261.MoveNext() 在 k8s.CoreV1OperationsExtensions.DeleteNamespacedService(ICoreV1Operations operations, String name, String namespaceParameter, V1DeleteOptions body, String dryRun, Nullable`1 gracePeriodSeconds, Nullable`1 orphanDependents, String propagationPolicy, Nullable`1 pretty) 在 BX.DevOps.Agent.Api.AgentApiImpl.DeleteService(DeleteServiceRequest request) 在 D:\Gitlab\BX.DevOps\BX.DevOps.Agent\Api\AgentApiImpl.cs 中: 第 346 行 在 BX.DevOps.Agent.Api.Tests.AgentApiImplTests.DeleteServiceTest() 在 D:\Gitlab\BX.DevOps\BX.DevOps.AgentTests\Api\AgentApiImplTests.cs 中: 第 88 行
The text was updated successfully, but these errors were encountered:
see #824 use 6.0 sdk to avoid this err or update your server to 1.23+
Sorry, something went wrong.
No branches or pull requests
Kubernetes C# SDK Client Version
e.g.
9.0.38
Server Kubernetes Version
e.g.
1.22.10
Dotnet Runtime Version
e.g. net6
Describe the bug
when id call this
exceptions throw below,and this
Service
deleted successfully!The text was updated successfully, but these errors were encountered: