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:
101
101
namespace : haproxy-controller
102
102
data :
103
103
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
-
145
104
---
146
105
apiVersion : apps/v1
147
106
kind : DaemonSet
@@ -165,7 +124,6 @@ spec:
165
124
image : haproxytech/kubernetes-ingress
166
125
args :
167
126
- --configmap=haproxy-controller/haproxy-kubernetes-ingress
168
- - --default-backend-service=haproxy-controller/haproxy-kubernetes-ingress-default-backend
169
127
securityContext :
170
128
runAsUser : 1000
171
129
runAsGroup : 1000
Original file line number Diff line number Diff line change @@ -101,47 +101,6 @@ metadata:
101
101
namespace : haproxy-controller
102
102
data :
103
103
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
-
145
104
---
146
105
apiVersion : apps/v1
147
106
kind : Deployment
@@ -166,7 +125,6 @@ spec:
166
125
image : haproxytech/kubernetes-ingress
167
126
args :
168
127
- --configmap=haproxy-controller/haproxy-kubernetes-ingress
169
- - --default-backend-service=haproxy-controller/haproxy-kubernetes-ingress-default-backend
170
128
securityContext :
171
129
runAsUser : 1000
172
130
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 26
26
requests :
27
27
memory : 256Mi
28
28
args :
29
- - --default-backend-service=$(POD_NAMESPACE)/haproxy-kubernetes-ingress-default-backend
30
29
- --configmap=$(POD_NAMESPACE)/haproxy-kubernetes-ingress
31
30
- --configmap-tcp-services=$(POD_NAMESPACE)/haproxy-kubernetes-ingress-tcp
32
31
- --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
37
37
38
38
echo " deploying Ingress Controller ..."
39
39
kubectl 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
44
43
45
44
echo " wait --for=condition=ready ..."
46
45
COUNTER=0
Original file line number Diff line number Diff line change @@ -204,6 +204,7 @@ args:
204
204
### ` --default-backend-service`
205
205
206
206
The name of the Kubernetes service to send requests to when no Ingress rules match.
207
+ By default, it uses the builtin HTTP backend.
207
208
208
209
Possible values :
209
210
Original file line number Diff line number Diff line change @@ -120,7 +120,9 @@ image_arguments:
120
120
args:
121
121
- --configmap-patternfiles=default/acl-patterns
122
122
- 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.
124
126
values :
125
127
- The name of the backend service
126
128
version_min : " 1.4"
You can’t perform that action at this time.
0 commit comments