Skip to content

Commit

Permalink
Switch ingress replication controller to deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
aledbf authored and dlorenc committed May 7, 2018
1 parent 6eef6a3 commit a12479f
Showing 1 changed file with 10 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit a12479f

Please sign in to comment.