You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would work, but you need to watch out for situation like a concurrent update happened after get_service and before _replace_update. In that case replace_namespaced_service will get a 409. A brute force solution is to retry when you get a 409.
This python client doesn't support client-side apply as kubectl does. The long term plan is to support server-side apply: #1430. Please +1 that issue if you need the feature.
It would work, but you need to watch out for situation like a concurrent update happened after get_service and before _replace_update. In that case replace_namespaced_service will get a 409. A brute force solution is to retry when you get a 409.
This python client doesn't support client-side apply as kubectl does. The long term plan is to support server-side apply: #1430. Please +1 that issue if you need the feature.
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
Can i implemen apply func like this?
I think no problem, use replace on CoreV1Api or AppsV1Api
The text was updated successfully, but these errors were encountered: