mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 10:51:29 +00:00
Merge pull request #73393 from ingvagabund/kubemark-providerid
Set ProviderID when running kubemark node
This commit is contained in:
commit
b8e8130a91
@ -17,6 +17,7 @@ limitations under the License.
|
||||
package kubemark
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
|
||||
@ -118,6 +119,7 @@ func GetHollowKubeletConfig(
|
||||
f.MaxPerPodContainerCount = 2
|
||||
f.RegisterNode = true
|
||||
f.RegisterSchedulable = true
|
||||
f.ProviderID = fmt.Sprintf("kubemark://%v", nodeName)
|
||||
|
||||
// Config struct
|
||||
c, err := options.NewKubeletConfiguration()
|
||||
|
Loading…
Reference in New Issue
Block a user