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
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
annotations: | |
alb.ingress.kubernetes.io/subnets: subnet-767bb43d,subnet-eecaf7b5 | |
alb.ingress.kubernetes.io/scheme: internet-facing | |
kubernetes.io/ingress.class: alb | |
name: echoserver | |
spec: | |
rules: |
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
default via 172.31.0.1 dev eth0 proto dhcp src 172.31.9.74 metric 100 | |
10.34.0.0/24 via 10.34.0.2 dev tun0 | |
10.34.0.2 dev tun0 proto kernel scope link src 10.34.0.1 | |
172.31.0.0/20 dev eth0 proto kernel scope link src 172.31.9.74 | |
172.31.0.1 dev eth0 proto dhcp scope link src 172.31.9.74 metric 100 |
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
2019-10-04 08:55:42.577+0000 [id=30] SEVERE jenkins.InitReactorRunner$1#onTaskFailed: Failed Initializing plugin selenium | |
java.net.SocketTimeoutException: Accept timed out | |
at java.base/java.net.PlainSocketImpl.socketAccept(Native Method) | |
at java.base/java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:458) | |
at java.base/java.net.ServerSocket.implAccept(ServerSocket.java:551) | |
at java.base/java.net.ServerSocket.accept(ServerSocket.java:519) | |
at hudson.slaves.Channels.newJVM(Channels.java:227) | |
at hudson.plugins.selenium.process.SeleniumProcessUtils.createSeleniumGridVM(SeleniumProcessUtils.java:59) | |
at hudson.plugins.selenium.PluginImpl.startHub(PluginImpl.java:176) | |
at hudson.plugins.selenium.PluginImpl.postInitialize(PluginImpl.java:136) |
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
paul.lupu@SVROLP00209:~/work/kubernetes/metrics-server:(master)\ | |
_$ kk apply -f deploy/1.8+/ | |
clusterrole.rbac.authorization.k8s.io/system:aggregated-metrics-reader unchanged | |
clusterrolebinding.rbac.authorization.k8s.io/metrics-server:system:auth-delegator unchanged | |
rolebinding.rbac.authorization.k8s.io/metrics-server-auth-reader unchanged | |
apiservice.apiregistration.k8s.io/v1beta1.metrics.k8s.io unchanged | |
serviceaccount/metrics-server unchanged | |
deployment.apps/metrics-server unchanged | |
service/metrics-server unchanged | |
clusterrole.rbac.authorization.k8s.io/system:metrics-server unchanged |
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@ce0d825c1557:/# apt install postgresql-10 | |
Reading package lists... Done | |
Building dependency tree | |
Reading state information... Done | |
Some packages could not be installed. This may mean that you have | |
requested an impossible situation or if you are using the unstable | |
distribution that some required packages have not yet been created | |
or been moved out of Incoming. | |
The following information may help to resolve the situation: |
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@ip-172-31-40-87 current]# cat worker_sample.rb | |
require 'sinatra/base' | |
require 'logger' | |
require 'ddtrace' | |
require 'ddtrace/contrib/sinatra/tracer' | |
class WorkerSample < Sinatra::Base | |
configure do | |
Datadog.configure do |c| | |
c.tracer hostname: 'test' |
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
pipeline { | |
environment { | |
LANG = "C.UTF-8" | |
} | |
agent { | |
docker { | |
image 'centos:7' | |
args '-p 2222:22 -v --privileged ' | |
} | |
} |
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
stage("PushToGitHub") { | |
steps { | |
sh """ | |
git add --all . | |
git commit -m 'PIPELINE: update to AMIs to newest version' | |
git checkout -b automation | |
git checkout $GIT_BRANCH | |
git pull --rebase | |
git merge automation -m 'Merged from automation branch' | |
git push |
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
for i in ${ids[@]} | |
do | |
echo "Waiting for build ID $i running on account: $ACCOUNT_ID" | |
echo "Debug information at https://us-west-2.console.aws.amazon.com/systems-manager/automation/execution/$i?region=$AWS_DEFAULT_REGION" | |
while true; | |
do | |
status=$(aws ssm get-automation-execution --output text --automation-execution-id "$i" ) | |
if [[ $(echo "$status" | grep -i "status" | grep -i "failed") ]]; then | |
### something has gone wrong, stop the execution | |
echo "Build failed!" |
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
_$ locale | |
LANG=en_US.UTF-8 | |
LANGUAGE= | |
LC_CTYPE="en_US.UTF-8" | |
LC_NUMERIC=ro_RO.UTF-8 | |
LC_TIME=ro_RO.UTF-8 | |
LC_COLLATE="en_US.UTF-8" | |
LC_MONETARY=ro_RO.UTF-8 | |
LC_MESSAGES="en_US.UTF-8" | |
LC_PAPER=ro_RO.UTF-8 |