This file contains 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
package main | |
import ( | |
"fmt" | |
"os" | |
"gopkg.in/gcfg.v1" | |
) | |
type LoadBalancer struct { |
This file contains 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
func waitLoadbalancerDeleted(client *gophercloud.ServiceClient, loadbalancerID string) error { | |
backoff := wait.Backoff{ | |
Duration: loadbalancerDeleteInitDelay, | |
Factor: loadbalancerDeleteFactor, | |
Steps: loadbalancerDeleteSteps, | |
} | |
err := wait.ExponentialBackoff(backoff, func() (bool, error) { | |
_, err := loadbalancers.Get(client, loadbalancerID).Extract() | |
if err != nil { | |
glog.V(4).Infof("waitLoadbalancerDeleted %v", err) |
This file contains 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
global: | |
resolve_timeout: 5m | |
slack_api_url: 'https://hooks.slack.com/services/your_slack_api_token' | |
templates: | |
- '/etc/alertmanager/template/*.tmpl' | |
route: | |
group_by: ['alertname', 'cluster', 'service'] | |
group_wait: 30s | |
group_interval: 5m |
This file contains 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@dc1-egress-1-2 cloud-user]# yum install docker-1.12.6 | |
Loaded plugins: search-disabled-repos | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package docker.x86_64 2:1.12.6-71.git3e8e77d.el7 will be installed | |
--> Processing Dependency: docker-client = 2:1.12.6-71.git3e8e77d.el7 for package: 2:docker-1.12.6-71.git3e8e77d.el7.x86_64 | |
--> Processing Dependency: docker-common = 2:1.12.6-71.git3e8e77d.el7 for package: 2:docker-1.12.6-71.git3e8e77d.el7.x86_64 | |
--> Running transaction check | |
---> Package docker-client.x86_64 2:1.12.6-71.git3e8e77d.el7 will be installed | |
---> Package docker-common.x86_64 2:1.12.6-71.git3e8e77d.el7 will be installed |
This file contains 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@dc1-egress-1-2 cloud-user]# yum install container-selinux-2.42-1.gitad8f0f7.el7 | |
Loaded plugins: search-disabled-repos | |
Resolving Dependencies | |
--> Running transaction check | |
---> Package container-selinux.noarch 2:2.42-1.gitad8f0f7.el7 will be installed | |
--> Finished Dependency Resolution | |
Dependencies Resolved | |
=================================================================================================================================================================================================================================================================================================== |
This file contains 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
% kubectl get pods --all-namespaces | |
NAMESPACE NAME READY STATUS RESTARTS AGE | |
kube-system elasticsearch-logging-v1-9wzc2 1/1 Running 0 3m | |
kube-system fluentd-elasticsearch-jr929 0/1 ImagePullBackOff 0 2m | |
kube-system fluentd-elasticsearch-jzppl 0/1 ImagePullBackOff 0 2m | |
kube-system heapster-fqcf7 1/1 Running 0 2m | |
kube-system kibana-logging-v1-nkjhs 0/1 ImagePullBackOff 0 3m | |
kube-system kube-apiserver-kube-dev-master-1-0 1/1 Running 0 3m | |
kube-system kube-apiserver-kube-dev-master-1-1 1/1 Running 0 3m | |
kube-system kube-apiserver-kube-dev-master-2-0 1/1 Running 0 3m |
This file contains 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
#coding: utf8 | |
from django.core.management.base import BaseCommand, CommandError | |
from uprofile.models import UserProfile | |
from country.models import Country, Matches, Betsit, Specials | |
from datetime import datetime, date | |
class Command(BaseCommand): | |
help = 'Populate the database with example data' |
This file contains 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
- Crossover (joku korean ihme) 27" näyttö 2560x1440 QLED, pelkästään dual-dvi liitäntä | |
tietokone: | |
- kotelo: fractal design r3 | |
- näyttis: joku minimaalinen näyttis millä pyörii serveri | |
- poweri: fractal design 1000W newton | |
- prossu: i7 920, jäähy noctua nh-u12p | |
- muistit: gskill ddr3-1600 6GB | |
- emo: dfi lanparty dk x58-t3eh6 | |
- kovalevy: wd 1tb 7200rpm (kovoja saa enemmänkin mukaan jos haluaa, pyöriviä vanhoja kiekkoja ei toimivuustakuuta. Kooltaan 1tb tai suurempia) |
This file contains 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
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
) | |
type Test struct { |
This file contains 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
package main | |
import ( | |
"bytes" | |
"encoding/json" | |
"fmt" | |
) | |
type Test struct { |
OlderNewer