mirror of https://github.com/kubernetes/kops.git
Change description of NPCExtraArgs in response to PR Feedback. Drop support for K8S 1.7
This commit is contained in:
parent
a2473156ae
commit
f5ce3f674b
|
@ -2788,7 +2788,8 @@ spec:
|
|||
format: int32
|
||||
type: integer
|
||||
netExtraArgs:
|
||||
description: Extra arguments that are passed to weave-kube
|
||||
description: NetExtraArgs are extra arguments that are passed
|
||||
to weave-kube.
|
||||
type: string
|
||||
noMasqLocal:
|
||||
format: int32
|
||||
|
@ -2801,7 +2802,8 @@ spec:
|
|||
Default 50m
|
||||
type: string
|
||||
npcExtraArgs:
|
||||
description: Extra arguments that are passed to weave-npc
|
||||
description: NPCExtraArgs are extra arguments that are passed
|
||||
to weave-npc.
|
||||
type: string
|
||||
npcMemoryLimit:
|
||||
description: NPCMemoryLimit memory limit of weave npc container.
|
||||
|
|
|
@ -75,7 +75,7 @@ type WeaveNetworkingSpec struct {
|
|||
MemoryLimit *resource.Quantity `json:"memoryLimit,omitempty"`
|
||||
// CPULimit CPU limit of weave container.
|
||||
CPULimit *resource.Quantity `json:"cpuLimit,omitempty"`
|
||||
// Extra arguments that are passed to weave-kube
|
||||
// NetExtraArgs are extra arguments that are passed to weave-kube.
|
||||
NetExtraArgs string `json:"netExtraArgs,omitempty"`
|
||||
|
||||
// NPCMemoryRequest memory request of weave npc container. Default 200Mi
|
||||
|
@ -86,7 +86,7 @@ type WeaveNetworkingSpec struct {
|
|||
NPCMemoryLimit *resource.Quantity `json:"npcMemoryLimit,omitempty"`
|
||||
// NPCCPULimit CPU limit of weave npc container
|
||||
NPCCPULimit *resource.Quantity `json:"npcCPULimit,omitempty"`
|
||||
// Extra arguments that are passed to weave-npc
|
||||
// NPCExtraArgs are extra arguments that are passed to weave-npc.
|
||||
NPCExtraArgs string `json:"npcExtraArgs,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ type WeaveNetworkingSpec struct {
|
|||
MemoryLimit *resource.Quantity `json:"memoryLimit,omitempty"`
|
||||
// CPULimit CPU limit of weave container.
|
||||
CPULimit *resource.Quantity `json:"cpuLimit,omitempty"`
|
||||
// Extra arguments that are passed to weave-kube
|
||||
// NetExtraArgs are extra arguments that are passed to weave-kube.
|
||||
NetExtraArgs string `json:"netExtraArgs,omitempty"`
|
||||
|
||||
// NPCMemoryRequest memory request of weave npc container. Default 200Mi
|
||||
|
@ -86,7 +86,7 @@ type WeaveNetworkingSpec struct {
|
|||
NPCMemoryLimit *resource.Quantity `json:"npcMemoryLimit,omitempty"`
|
||||
// NPCCPULimit CPU limit of weave npc container
|
||||
NPCCPULimit *resource.Quantity `json:"npcCPULimit,omitempty"`
|
||||
// Extra arguments that are passed to weave-npc
|
||||
// NPCExtraArgs are extra arguments that are passed to weave-npc.
|
||||
NPCExtraArgs string `json:"npcExtraArgs,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ type WeaveNetworkingSpec struct {
|
|||
MemoryLimit *resource.Quantity `json:"memoryLimit,omitempty"`
|
||||
// CPULimit CPU limit of weave container.
|
||||
CPULimit *resource.Quantity `json:"cpuLimit,omitempty"`
|
||||
// Extra arguments that are passed to weave-kube
|
||||
// NetExtraArgs are extra arguments that are passed to weave-kube.
|
||||
NetExtraArgs string `json:"netExtraArgs,omitempty"`
|
||||
|
||||
// NPCMemoryRequest memory request of weave npc container. Default 200Mi
|
||||
|
@ -86,7 +86,7 @@ type WeaveNetworkingSpec struct {
|
|||
NPCMemoryLimit *resource.Quantity `json:"npcMemoryLimit,omitempty"`
|
||||
// NPCCPULimit CPU limit of weave npc container
|
||||
NPCCPULimit *resource.Quantity `json:"npcCPULimit,omitempty"`
|
||||
// Extra arguments that are passed to weave-npc
|
||||
// NPCExtraArgs are extra arguments that are passed to weave-npc.
|
||||
NPCExtraArgs string `json:"npcExtraArgs,omitempty"`
|
||||
}
|
||||
|
||||
|
|
|
@ -203,10 +203,6 @@ spec:
|
|||
fieldRef:
|
||||
apiVersion: v1
|
||||
fieldPath: spec.nodeName
|
||||
{{- if .Networking.Weave.NPCExtraArgs }}
|
||||
- name: EXTRA_ARGS
|
||||
value: "{{ .Networking.Weave.NPCExtraArgs }}"
|
||||
{{- end }}
|
||||
image: 'weaveworks/weave-npc:2.6.0'
|
||||
ports:
|
||||
- name: metrics
|
||||
|
|
|
@ -131,7 +131,7 @@ spec:
|
|||
- id: k8s-1.7
|
||||
kubernetesVersion: '>=1.7.0 <1.8.0'
|
||||
manifest: networking.weave/k8s-1.7.yaml
|
||||
manifestHash: 0725cf9a9f3651209a0b726ed00a078d7fb2e7f6
|
||||
manifestHash: 990772f9809ffb0cff4ea9341a9ab7e9094d7587
|
||||
name: networking.weave
|
||||
selector:
|
||||
role.kubernetes.io/networking: "1"
|
||||
|
|
Loading…
Reference in New Issue