• Michael Taufen's avatar
    Mulligan: Remove deprecated and experimental fields from KubeletConfiguration · 8180536b
    Michael Taufen authored
    Revert "Merge pull request #51857 from kubernetes/revert-51307-kc-type-refactor"
    
    This reverts commit 9d27d924, reversing
    changes made to 2e69d4e6.
    
    See original: #51307
    
    We punted this from 1.8 so it could go through an API review. The point
    of this PR is that we are trying to stabilize the kubeletconfig API so
    that we can move it out of alpha, and unblock features like Dynamic
    Kubelet Config, Kubelet loading its initial config from a file instead
    of flags, kubeadm and other install tools having a versioned API to rely
    on, etc.
    
    We shouldn't rev the version without both removing all the deprecated
    junk from the KubeletConfiguration struct, and without (at least
    temporarily) removing all of the fields that have "Experimental" in
    their names. It wouldn't make sense to lock in to deprecated fields.
    "Experimental" fields can be audited on a 1-by-1 basis after this PR,
    and if found to be stable (or sufficiently alpha-gated), can be restored
    to the KubeletConfiguration without the "Experimental" prefix.
    8180536b
kubelet.go 3.6 KB