Skip to content

Commit 5518b0a

Browse files
committed
Merge commit '9dea4f9c2e9a4b7772adc3c9e5be079c66a18cfe' into release
2 parents 32fa647 + 9dea4f9 commit 5518b0a

File tree

16 files changed

+84
-39
lines changed

16 files changed

+84
-39
lines changed

.circleci/docker_unified_smoke_unit/Dockerfile.sanity.centos

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ FROM centos
1313
RUN yum install -y epel-release && yum install -y python36 python36-pip
1414
RUN pip3 install requests
1515
RUN yum install -y perl
16+
RUN yum install -y sudo
1617

1718
#------------------------------------------------------
1819
# Copy and run test scripts

.circleci/docker_unified_smoke_unit/Dockerfile.sanity.ubuntu

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ RUN apt-get update && apt-get install -y curl python python3
1414
RUN apt-get install -y python3-pip
1515
RUN apt-get install perl
1616
RUN pip3 install requests
17+
RUN apt-get install sudo
1718

1819
#------------------------------------------------------
1920
# Copy and run test scripts

.circleci/smoketest_release_standalone.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ elif [[ $ARTIFACT_FILE =~ .*deb ]]; then
6060
apt-get update
6161
elif [[ $ARTIFACT_FILE == "PUBLISHED" ]]; then
6262
echo "Installing via published script (https://www.scalyr.com/install-agent.sh)"
63-
pushd /tmp && curl https://www.scalyr.com/install-agent.sh -o /tmp/install_agent.sh && chmod 755 /tmp/install_agent.sh && \
64-
/tmp/install-agent.sh --set-api-key $SCALYR_API_KEY
63+
pushd /tmp && curl https://www.scalyr.com/install-agent.sh -o /tmp/install-agent.sh && sleep 3 && chmod 755 /tmp/install-agent.sh && \
64+
sudo /tmp/install-agent.sh --set-api-key $SCALYR_API_KEY
6565
elif [[ $ARTIFACT_FILE =~ .*gz ]]; then
6666
pushd /usr/share
6767
tar --no-same-owner -zxf $ARTIFACT_FILE
@@ -76,6 +76,8 @@ fi
7676
FILES=/tmp
7777

7878
if [[ ! -f $SCALYR_AGENT_ETC_DIR/agent.json ]]; then
79+
find / -name scalyr_install.log
80+
cat $(find / -name scalyr_install.log)
7981
exit 1
8082
fi
8183

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
11
Scalyr Agent 2 Changes By Release
22
=================================
33

4+
## 2.0.53 "Firefly" - Sep 18, 2019
5+
6+
<!---
7+
Packaged by Imron Alston <[email protected]> on Sep 18, 2019 15:00 -0700
8+
--->
9+
10+
Features
11+
* Collection of per CPU metric data under docker/kubernetes has been placed behind a config option to prevent collecting excessive metrics on machines with a large number of cores.
12+
13+
Miscellaneous changes
14+
* Added scripts for bringing up/tearing down large clusters for testing
15+
* Fixed problem with smoketest scripts
16+
17+
418
## 2.0.52 "Einstein-Rosen Bridge" - Sep 16, 2019
519

620
<!---

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.52
1+
2.0.53

k8s/scalyr-agent-2-envfrom.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
serviceAccountName: scalyr-service-account
1212
containers:
1313
- name: scalyr-agent
14-
image: scalyr/scalyr-k8s-agent:2.0.52
14+
image: scalyr/scalyr-k8s-agent:2.0.53
1515
imagePullPolicy: Always
1616
env:
1717
- name: SCALYR_API_KEY

k8s/scalyr-agent-2.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
serviceAccountName: scalyr-service-account
1212
containers:
1313
- name: scalyr-agent
14-
image: scalyr/scalyr-k8s-agent:2.0.52
14+
image: scalyr/scalyr-k8s-agent:2.0.53
1515
imagePullPolicy: Always
1616
env:
1717
- name: SCALYR_API_KEY
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Please see `sample_commands.txt`.

performance/kops_cluster_setup/agentscale.yaml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ apiVersion: kops/v1alpha2
2626
kind: Cluster
2727
metadata:
2828
creationTimestamp: null
29-
name: agentscale.dev.scalyr.com
29+
name: <YOUR_CUSTER_NAME>
3030
spec:
3131
api:
3232
loadBalancer:
@@ -35,7 +35,7 @@ spec:
3535
rbac: {}
3636
channel: stable
3737
cloudProvider: aws
38-
configBase: s3://agentscale-dev-scalyr-com-state-store/agentscale.dev.scalyr.com
38+
configBase: s3://<YOUR_BUCKET_STORE_NAME>/<YOUR_CUSTER_NAME>
3939
etcdClusters:
4040
- cpuRequest: 200m
4141
etcdMembers:
@@ -78,7 +78,7 @@ spec:
7878
kubernetesApiAccess:
7979
- 0.0.0.0/0
8080
kubernetesVersion: 1.10.13
81-
masterPublicName: api.agentscale.dev.scalyr.com
81+
masterPublicName: api.<YOUR_CUSTER_NAME>
8282
networkCIDR: 172.20.0.0/16
8383
networking:
8484
kopeio: {}
@@ -128,7 +128,7 @@ spec:
128128
zone: us-east-1f
129129
topology:
130130
bastion:
131-
bastionPublicName: bastion.agentscale.dev.scalyr.com
131+
bastionPublicName: bastion.<YOUR_CUSTER_NAME>
132132
idleTimeoutSeconds: 3600
133133
dns:
134134
type: Public
@@ -142,7 +142,7 @@ kind: InstanceGroup
142142
metadata:
143143
creationTimestamp: null
144144
labels:
145-
kops.k8s.io/cluster: agentscale.dev.scalyr.com
145+
kops.k8s.io/cluster: <YOUR_CUSTER_NAME>
146146
name: master-us-east-1a
147147
spec:
148148
image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-05-13
@@ -162,7 +162,7 @@ kind: InstanceGroup
162162
metadata:
163163
creationTimestamp: null
164164
labels:
165-
kops.k8s.io/cluster: agentscale.dev.scalyr.com
165+
kops.k8s.io/cluster: <YOUR_CUSTER_NAME>
166166
name: master-us-east-1b
167167
spec:
168168
image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-05-13
@@ -182,7 +182,7 @@ kind: InstanceGroup
182182
metadata:
183183
creationTimestamp: null
184184
labels:
185-
kops.k8s.io/cluster: agentscale.dev.scalyr.com
185+
kops.k8s.io/cluster: <YOUR_CUSTER_NAME>
186186
name: master-us-east-1c
187187
spec:
188188
image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-05-13
@@ -202,7 +202,7 @@ kind: InstanceGroup
202202
metadata:
203203
creationTimestamp: null
204204
labels:
205-
kops.k8s.io/cluster: agentscale.dev.scalyr.com
205+
kops.k8s.io/cluster: <YOUR_CUSTER_NAME>
206206
name: master-us-east-1d
207207
spec:
208208
image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-05-13
@@ -222,7 +222,7 @@ kind: InstanceGroup
222222
metadata:
223223
creationTimestamp: null
224224
labels:
225-
kops.k8s.io/cluster: agentscale.dev.scalyr.com
225+
kops.k8s.io/cluster: <YOUR_CUSTER_NAME>
226226
name: master-us-east-1f
227227
spec:
228228
image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-05-13
@@ -242,7 +242,7 @@ kind: InstanceGroup
242242
metadata:
243243
creationTimestamp: null
244244
labels:
245-
kops.k8s.io/cluster: agentscale.dev.scalyr.com
245+
kops.k8s.io/cluster: <YOUR_CUSTER_NAME>
246246
name: nodes
247247
spec:
248248
image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-05-13
@@ -266,7 +266,7 @@ kind: InstanceGroup
266266
metadata:
267267
creationTimestamp: null
268268
labels:
269-
kops.k8s.io/cluster: agentscale.dev.scalyr.com
269+
kops.k8s.io/cluster: <YOUR_CUSTER_NAME>
270270
name: bastions
271271
spec:
272272
image: kope.io/k8s-1.12-debian-stretch-amd64-hvm-ebs-2019-05-13

performance/kops_cluster_setup/create_agentscale_yaml.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
# Define variables
77
export AWS_ACCESS_KEY_ID=$(aws configure get aws_access_key_id)
88
export AWS_SECRET_ACCESS_KEY=$(aws configure get aws_secret_access_key)
9-
BUCKET=agentscale-dev-scalyr-com-state-store
10-
export KOPS_CLUSTER_NAME=agentscale.dev.scalyr.com
9+
BUCKET=<YOUR_BUCKET_STORE_NAME>
10+
export KOPS_CLUSTER_NAME=<YOUR_CLUSTER_NAME> # should be a valid DNS name, e.g. agentscale.dev.scalyr.com
1111
export KOPS_STATE_STORE=s3://${BUCKET}
1212

1313
# Create bucket for cluster state

0 commit comments

Comments
 (0)