New issue
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
Create the v1 API #7018
Comments
Do we have a list of candidate changes for v1 as compared to v1b3? On Fri, Apr 17, 2015 at 8:27 PM, Brian Grant notifications@github.com
|
Mostly this is intended to be a rename of the API. Possible changes:
|
Can I add "make some optional fields into pointers for clearer denotation" ? I am torn on volume sources. I am reviewing PV stuff still, I am just On Mon, Apr 20, 2015 at 9:34 AM, Brian Grant notifications@github.com
|
I would like to see us support delete /namespace/foo/pods This would delete all pods in namespace foo. It would literally delete the folder node that contained all pods in that namespace in etcd. |
Maybe another pass on /componentstatuses, which was prematurely merged #6597. |
We shouldn't need to wait until v1 in order to change the Go structs. |
I was specifically thinking about #6735 which would change the default On Mon, Apr 20, 2015 at 4:25 PM, Brian Grant notifications@github.com
|
Ah right, default of 1 replica rather than 0 replicas. There's also the issue of changing the default cleanup behavior of replication controllers, as discussed in #1535 (comment) |
StatusDetails ID field should be name: #7333 |
ServiceStatus should have a Phase On Mon, Apr 27, 2015 at 4:19 PM, Brian Grant notifications@github.com
|
Or nothing should have a Phase. :-) |
As suggested in #6910, perhaps we should eliminate the term "portal". |
VIP ? But it might not always be Virtual - you could imagine an "internal" On Mon, Apr 27, 2015 at 7:40 PM, Brian Grant notifications@github.com
|
#6979 proposes rejiggering some of the named-one-of fields. better API, but requires cusotm JSON unmarshalling code. |
Another possible issue: expanded image spec: #7203 |
api.Pod.Host vs. Node: #6895 |
Created a new issue for replacement of phase with condition: #7856. |
Clarification: Replacement of phase is almost certainly out for v1. I just referenced it for completeness. |
We might want to reconsider use of ObjectReference in the API. For cases in object specs where kind, namespace, and api version are fixed and where uid, resource version, etc. aren't supported for stronger consistency, it's simpler to just specify an object name. I still feel that ObjectReference is probably easier for clients to deal with generically when comprehending objects, though, so we should use it in status, where necessary. Current fields in specs: Names: PodSpec.Host, PersistentVolumeClaimVolumeSource.ClaimName, GlusterfsVolumeSource.EndpointsName, SecretVolumeSource.SecretName, PodSpec.ServiceAccount ObjectReference: PersistentVolumeSpec.ClaimRef, ServiceAccount.Secrets, PodSpec.PullSecrets, ReplicationControllerSpec.TemplateRef, Binding.Target, EnvVarSource.FieldRef (subset) |
v1 is enabled by default, is the preferred API version, and is tested as much as v1beta3. Docs/examples are covered by #9286. |
Addresses kubernetes#7018 Also fixed the case when kubernetes.io/name label is not defined (another fix for kubernetes#9875)
We're still finishing loose ends on v1beta3, but we need to clone it into the v1 API soon, and stop making breaking changes to v1beta3. As with v1beta3, v1 shouldn't be exposed by default and shouldn't be the latest API version until we freeze it.
The text was updated successfully, but these errors were encountered: