File tree Expand file tree Collapse file tree 9 files changed +7
-129
lines changed Expand file tree Collapse file tree 9 files changed +7
-129
lines changed Original file line number Diff line number Diff line change @@ -101,47 +101,6 @@ metadata:
101101 namespace : haproxy-controller
102102data :
103103
104- ---
105- apiVersion : apps/v1
106- kind : Deployment
107- metadata :
108- labels :
109- run : ingress-default-backend
110- name : haproxy-kubernetes-ingress-default-backend
111- namespace : haproxy-controller
112- spec :
113- replicas : 1
114- selector :
115- matchLabels :
116- run : ingress-default-backend
117- template :
118- metadata :
119- labels :
120- run : ingress-default-backend
121- spec :
122- containers :
123- - name : ingress-default-backend
124- image : gcr.io/google_containers/defaultbackend:1.0
125- ports :
126- - containerPort : 8080
127-
128- ---
129- apiVersion : v1
130- kind : Service
131- metadata :
132- labels :
133- run : ingress-default-backend
134- name : haproxy-kubernetes-ingress-default-backend
135- namespace : haproxy-controller
136- spec :
137- selector :
138- run : ingress-default-backend
139- ports :
140- - name : port-1
141- port : 8080
142- protocol : TCP
143- targetPort : 8080
144-
145104---
146105apiVersion : apps/v1
147106kind : DaemonSet
@@ -165,7 +124,6 @@ spec:
165124 image : haproxytech/kubernetes-ingress
166125 args :
167126 - --configmap=haproxy-controller/haproxy-kubernetes-ingress
168- - --default-backend-service=haproxy-controller/haproxy-kubernetes-ingress-default-backend
169127 securityContext :
170128 runAsUser : 1000
171129 runAsGroup : 1000
Original file line number Diff line number Diff line change @@ -101,47 +101,6 @@ metadata:
101101 namespace : haproxy-controller
102102data :
103103
104- ---
105- apiVersion : apps/v1
106- kind : Deployment
107- metadata :
108- labels :
109- run : ingress-default-backend
110- name : haproxy-kubernetes-ingress-default-backend
111- namespace : haproxy-controller
112- spec :
113- replicas : 1
114- selector :
115- matchLabels :
116- run : ingress-default-backend
117- template :
118- metadata :
119- labels :
120- run : ingress-default-backend
121- spec :
122- containers :
123- - name : ingress-default-backend
124- image : gcr.io/google_containers/defaultbackend:1.0
125- ports :
126- - containerPort : 8080
127-
128- ---
129- apiVersion : v1
130- kind : Service
131- metadata :
132- labels :
133- run : ingress-default-backend
134- name : haproxy-kubernetes-ingress-default-backend
135- namespace : haproxy-controller
136- spec :
137- selector :
138- run : ingress-default-backend
139- ports :
140- - name : port-1
141- port : 8080
142- protocol : TCP
143- targetPort : 8080
144-
145104---
146105apiVersion : apps/v1
147106kind : Deployment
@@ -166,7 +125,6 @@ spec:
166125 image : haproxytech/kubernetes-ingress
167126 args :
168127 - --configmap=haproxy-controller/haproxy-kubernetes-ingress
169- - --default-backend-service=haproxy-controller/haproxy-kubernetes-ingress-default-backend
170128 securityContext :
171129 runAsUser : 1000
172130 runAsGroup : 1000
Load Diff This file was deleted.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 2626 requests :
2727 memory : 256Mi
2828 args :
29- - --default-backend-service=$(POD_NAMESPACE)/haproxy-kubernetes-ingress-default-backend
3029 - --configmap=$(POD_NAMESPACE)/haproxy-kubernetes-ingress
3130 - --configmap-tcp-services=$(POD_NAMESPACE)/haproxy-kubernetes-ingress-tcp
3231 - --configmap-errorfiles=$(POD_NAMESPACE)/errorfiles
Original file line number Diff line number Diff line change @@ -37,10 +37,9 @@ kind load docker-image haproxytech/http-echo:latest --name=$clustername
3737
3838echo " deploying Ingress Controller ..."
3939kubectl apply -f $DIR /config/0.namespace.yaml
40- kubectl apply -f $DIR /config/1.default-backend.yaml
41- kubectl apply -f $DIR /config/2.rbac.yaml
42- kubectl apply -f $DIR /config/3.configmap.yaml
43- kubectl apply -f $DIR /config/4.ingress-controller.yaml
40+ kubectl apply -f $DIR /config/1.rbac.yaml
41+ kubectl apply -f $DIR /config/2.configmap.yaml
42+ kubectl apply -f $DIR /config/3.ingress-controller.yaml
4443
4544echo " wait --for=condition=ready ..."
4645COUNTER=0
Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ args:
204204### ` --default-backend-service`
205205
206206 The name of the Kubernetes service to send requests to when no Ingress rules match.
207+ By default, it uses the builtin HTTP backend.
207208
208209Possible values :
209210
Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ image_arguments:
120120 args:
121121 - --configmap-patternfiles=default/acl-patterns
122122 - argument : --default-backend-service
123- description : The name of the Kubernetes service to send requests to when no Ingress rules match.
123+ description : |-
124+ The name of the Kubernetes service to send requests to when no Ingress rules match.
125+ By default, it uses the builtin HTTP backend.
124126 values :
125127 - The name of the backend service
126128 version_min : " 1.4"
You can’t perform that action at this time.
0 commit comments