-
kops: https://github.com/kubernetes/kops
-
Getting Started Guide: https://github.com/kubernetes/kops/blob/master/docs/aws.md
-
Installing Kubernetes on AWS with kops: https://kubernetes.io/docs/getting-started-guides/kops/
-
Mulit-master Kubernetes Cluster on AWS with kops: http://blog.arungupta.me/multimaster-kubernetes-cluster-amazon-kops/
-
Booting Kubernetes on Amazon Elastic Compute with kops: https://deis.com/docs/workflow/quickstart/provider/aws/boot/
-
Setting up an HA Kubernetes Cluster in AWS with private topology with kops 1.5.1: https://www.nivenly.com/kops-1-5-1/
-
Kubernetes on AWS: https://daemonza.github.io/2017/01/15/kubernetes-on-aws/
-
Your 2nd day with Kubernetes on AWS: https://www.nivenly.com/2nd-hour/
-
-
Tectonic (Terraform): http://github.com/coreos/tectonic-installer
-
Graphical installer: https://coreos.com/tectonic/docs/latest/install/aws/
-
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
| pipeline { | |
| agent { node { label 'swarm-ci' } } | |
| environment { | |
| TEST_PREFIX = "test-IMAGE" | |
| TEST_IMAGE = "${env.TEST_PREFIX}:${env.BUILD_NUMBER}" | |
| TEST_CONTAINER = "${env.TEST_PREFIX}-${env.BUILD_NUMBER}" | |
| REGISTRY_ADDRESS = "my.registry.address.com" | |
| SLACK_CHANNEL = "#deployment-notifications" |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
- Download docker-compose.yml to dir named
sentry - Change
SENTRY_SECRET_KEYto random 32 char string - Run
docker-compose up -d - Run
docker-compose exec sentry sentry upgradeto setup database and create admin user - (Optional) Run
docker-compose exec sentry pip install sentry-slackif you want slack plugin, it can be done later - Run
docker-compose restart sentry - Sentry is now running on public port
9000
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
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
| function stringToNum(number){ | |
| var out = parseFloat(number.toString().replace(',','')); | |
| return out; | |
| } | |
| function outputRecord(record, indicator, country, date, value){ | |
| if(parseFloat(value).isNaN()){ // if the value is a string, then output value as string | |
| record.value = { | |
| '${ID}' : indicator.toString(), | |
| '${CT}' : country.toString(), | |
| '${DT}' : parseInt(date), |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| #!/bin/bash | |
| open -a "Google Chrome" --new --args --new-window \ | |
| 'https://tweetdeck.twitter.com' \ | |
| 'https://web.whatsapp.com' \ | |
| 'https://blastersystems.slack.com/' \ | |
| 'https://www.messenger.com/' \ | |
| 'https://web.telegram.org/' \ | |
| 'https://web.skype.com' \ | |
| 'https://hangouts.google.com/' \ |
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
| [Unit] | |
| Description=consul agent | |
| Requires=network-online.target | |
| After=network-online.target | |
| [Service] | |
| EnvironmentFile=-/etc/sysconfig/consul | |
| Environment=GOMAXPROCS=2 | |
| Restart=on-failure | |
| ExecStart=/usr/local/sbin/consul agent $OPTIONS -config-dir=/etc/consul.d |
To remove a submodule you need to:
- Delete the relevant section from the .gitmodules file.
- Stage the .gitmodules changes git add .gitmodules
- Delete the relevant section from .git/config.
- Run git rm --cached path_to_submodule (no trailing slash).
- Run rm -rf .git/modules/path_to_submodule (no trailing slash).
- Commit git commit -m "Removed submodule "
- Delete the now untracked submodule files rm -rf path_to_submodule