Posts

Showing posts with the label git

Gitlab loads nginx default page instead of the gitlab login page

Image
        Problem Statement- Recently my gitlab instance stopped showing me the landing page instead showing the default Nginx landing page as shown below So this way I am stuck to see my gitlab instance login page. Checking gitlab status Last login: Thu Jun 20 14:48:55 2019 from 122.163.159.113 root@ubuntu:~# gitlab-ctl status run: alertmanager: (pid 4358) 5106s; run: log: (pid 3364) 5167s run: gitaly: (pid 4379) 5105s; run: log: (pid 3378) 5167s run: gitlab-monitor: (pid 4404) 5105s; run: log: (pid 3371) 5167s run: gitlab-workhorse: (pid 4412) 5105s; run: log: (pid 3367) 5167s run: logrotate: (pid 12716) 1504s; run: log: (pid 3377) 5167s run: nginx: (pid 4453) 5104s; run: log: (pid 3366) 5167s run: node-exporter: (pid 4465) 5103s; run: log: (pid 3369) 5167s run: postgres-exporter: (pid 4472) 5103s; run: log: (pid 3370) 5167s run: postgresql: (pid 4559) 5102s; run: log: (pid 3402) 5167s run: prometheus: (pid 4564) 5102s; run: log: (p...

Container Native Application Development Setup with Kubernetes

Image
Recently I have been involved in analysis and setup of container native application development setup using Kubernetes(k8s). Below are the steps I have done for the same- Requirements 1. A Developer with access to his/her GitHub account Developer develops an app and pushes the code to GitHub (a distributed version source code control utility) 2. Jenkins setup Jenkins setup is required for DevOps viz. creating CI/CD pipeline/ Web Hooks. For current environment, Jenkins server is running on Google Cloud platform. 3. Dockerhub account A valid dockerhub account is required for container image registery. 4. A Kubernetes(k8s) Cluster (GKE) A k8s cluster is required for running the containers /container orchestration, scaling and overall container lifecycle management. I have used Google Kubernetes Engine (GKE) @ Google Cloud. It contains 1 load balancer and 3 nodes. Conditions K8s cluster, Jenkins, GitHub should be on  the same network (if private...