Switch ingress replication controller to deployment

pull/2722/head
Manuel de Brito Fontes 2018-05-06 11:01:39 -03:00 committed by dlorenc
parent 6eef6a31e2
commit a12479fc89
1 changed files with 10 additions and 8 deletions

View File

@ -12,8 +12,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
apiVersion: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: default-http-backend
namespace: kube-system
@ -22,8 +22,9 @@ metadata:
spec:
replicas: 1
selector:
app: default-http-backend
addonmanager.kubernetes.io/mode: Reconcile
matchLabels:
app: default-http-backend
addonmanager.kubernetes.io/mode: Reconcile
template:
metadata:
labels:
@ -55,8 +56,8 @@ spec:
cpu: 10m
memory: 20Mi
---
apiVersion: v1
kind: ReplicationController
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: nginx-ingress-controller
namespace: kube-system
@ -66,8 +67,9 @@ metadata:
spec:
replicas: 1
selector:
app: nginx-ingress-controller
addonmanager.kubernetes.io/mode: Reconcile
matchLabels:
app: nginx-ingress-controller
addonmanager.kubernetes.io/mode: Reconcile
template:
metadata:
labels: