Ingress Installation Logs

From PKC
Jump to navigation Jump to search

Preface

This document is created to logs all the activity during the attempt to install Ingress on PKC Cluster. There are several versions of kubernetes that is available, on this attempt the version that we are goint to install is the Ingress develop by NGINX Organization and stored in below github URL.

https://github.com/nginxinc/kubernetes-ingress

Documentation also available on

https://docs-1-12--nginx-kubernetes-ingress.netlify.app/nginx-ingress-controller/

This first attemp will follow below particular page.

https://docs-1-12--nginx-kubernetes-ingress.netlify.app/nginx-ingress-controller/installation/installation-with-manifests/

Installation with Manifest

Clone Repository into local folder, in this case is the master-aws node. [54.213.178.159]

$ git clone https://github.com/nginxinc/kubernetes-ingress/
$ cd kubernetes-ingress/deployments
$ git checkout v1.12.0

Using version v1.12.0, once the repository is cloned, next step is to configure RBAC, Role Base Access Control

$ kubectl apply -f common/ns-and-sa.yaml
$ kubectl apply -f rbac/rbac.yaml
$ kubectl apply -f rbac/ap-rbac.yaml

Below are the output, that are the resources created

namespace/nginx-ingress created
serviceaccount/nginx-ingress created
clusterrole.rbac.authorization.k8s.io/nginx-ingress created
clusterrolebinding.rbac.authorization.k8s.io/nginx-ingress created
clusterrole.rbac.authorization.k8s.io/nginx-ingress-app-protect unchanged
clusterrolebinding.rbac.authorization.k8s.io/nginx-ingress-app-protect unchanged

Check Result