-
Update
/etc/hosts
to point web.corp.local to your ingress IPsudo echo "10.40.14.36 web.corp.local" >> /etc/hosts
-
Create certs
- Create certificates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
labels: | |
k8s-app: metrics-server | |
name: metrics-server | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1 | |
kind: ClusterRole |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.k8s.io/v1 | |
kind: NetworkPolicy | |
metadata: | |
name: allow-apps-egress-ent-svc | |
spec: | |
podSelector: {} | |
policyTypes: | |
- Egress | |
egress: | |
- to: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker volume create mlab-mongo | |
docker container run --rm --name mlab-mongo --network-alias mlab-mongo -p 27017:27017 -v mlab-mongo-data:/data/db -d mongo | |
docker container run --rm --name mlab -p 5000:5000 -e VCAP_SERVICES='{"mlab": ["credentials": {"uri":"mongodb://mlab-mongo:27017/mlab"}]}' -v config.py:/usr/src/app/config.py cloudgeek007/devopspipeline:6 |
- You should have docker-compose installed. If you don't have it, get it from [docker/compose][docker-compose] release page.
- Get the [docker-compose.yml][docker-compose.yml]
- Go to command line / terminal
- Go to directory containing
docker-compose.yml
. Generally it will be Downloads directory - Run docker compose and dertach
docker-compose up -d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Install minimal vimrc using: | |
" wget -q https://yogendra.me/minimal-vimrc -O ~/.vimrc | |
let g:netrw_liststyle=3 | |
set autoindent | |
set cursorcolumn | |
set cursorline | |
set expandtab | |
set history=50 | |
set hlsearch | |
set ignorecase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foo |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
[*] | |
end_of_line = lf | |
insert_final_newline = true | |
# Matches multiple files with brace expansion notation | |
[*.{js,jsx,html,sass,md}] | |
charset = utf-8 | |
indent_style = space |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Master: | |
AdminUser: user | |
AdminPassword: user | |
InstallPlugins: | |
- kubernetes:1.12.0 | |
- workflow-job:2.23 | |
- workflow-aggregator:2.5 | |
- credentials-binding:1.16 | |
- git:3.9.1 | |
- blueocean:1.7.1 |