-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Health private preview agent #253
base: ci_feature
Are you sure you want to change the base?
Changes from 3 commits
6e8832e
4b2e5aa
7c8f4b3
d4ae283
c092910
e251cc9
733be41
ba99de4
a266899
5683b4a
651d271
ef64af0
b15fe92
5332ff0
584d922
4186c9c
09ca730
3f00b86
444a23b
5a5882e
cfb0a6d
49c858a
91a79f1
68b31ba
7a80b1e
a462aef
b553bce
059f237
7b6c550
2292298
e4b6189
bacd58c
ee36ca3
e0a4fa6
0bb250e
3d2d456
e5b9ac8
d8dc4da
34c36cd
709f993
e98dcd0
b4c1098
af603c6
ad8a5d5
cf2d2ba
00d240e
8c3939f
71bcd4c
78cdbda
95f8caa
4d867fe
2e9e56b
c0fec92
e584bf6
1b78f9d
e78c7cd
b968f5c
389bd02
db3f461
5f39989
09e01fd
3d9d24b
b56a1cb
67caad8
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -79,6 +79,14 @@ data: | |
log_level debug | ||
</source> | ||
|
||
#Kubernetes health | ||
<source> | ||
type kubehealth | ||
tag oms.api.KubeHealth.AgentCollectionTime | ||
run_interval 60s | ||
log_level debug | ||
</source> | ||
|
||
#cadvisor perf- Windows nodes | ||
<source> | ||
type wincadvisorperf | ||
|
@@ -247,6 +255,18 @@ data: | |
max_retry_wait 9m | ||
retry_mdm_post_wait_minutes 60 | ||
</match> | ||
|
||
<match oms.api.KubeHealth.AgentCollectionTime**> | ||
type out_oms_api | ||
log_level debug | ||
buffer_chunk_limit 10m | ||
buffer_type file | ||
buffer_path %STATE_DIR_WS%/out_oms_api_kubehealth*.buffer | ||
buffer_queue_limit 10 | ||
flush_interval 20s | ||
retry_limit 10 | ||
retry_wait 30s | ||
</match> | ||
metadata: | ||
name: omsagent-rs-config | ||
namespace: kube-system | ||
|
@@ -259,8 +279,8 @@ metadata: | |
type: Opaque | ||
data: | ||
#BASE64 ENCODED (Both WSID & KEY) INSIDE DOUBLE QUOTE ("") | ||
WSID: "WSID" | ||
KEY: "KEY" | ||
WSID: "VALUE_WSID" | ||
KEY: "VALUE_KEY" | ||
--- | ||
apiVersion: extensions/v1beta1 | ||
kind: DaemonSet | ||
|
@@ -291,13 +311,13 @@ spec: | |
cpu: 50m | ||
memory: 150Mi | ||
env: | ||
#- name: AKS_RESOURCE_ID | ||
# value: "VALUE_AKS_RESOURCE_ID_VALUE" | ||
#- name: AKS_REGION | ||
# value: "VALUE_AKS_RESOURCE_REGION_VALUE" | ||
- name: AKS_RESOURCE_ID | ||
value: "VALUE_AKS_RESOURCE_ID_VALUE" | ||
- name: AKS_REGION | ||
value: "VALUE_AKS_REGION_VALUE" | ||
#Uncomment below two lines for ACS clusters and set the cluster names manually. Also comment out the above two lines for ACS clusters | ||
- name: ACS_RESOURCE_NAME | ||
value: "my_acs_cluster_name" | ||
#- name: ACS_RESOURCE_NAME | ||
#value: "my_acs_cluster_name" | ||
- name: DISABLE_KUBE_SYSTEM_LOG_COLLECTION | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this has been removed in the last release. This looks like a bad merge... |
||
value: "true" | ||
- name: CONTROLLER_TYPE | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,12 @@ sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ | |
dpkg-reconfigure --frontend=noninteractive locales && \ | ||
update-locale LANG=en_US.UTF-8 | ||
|
||
wget https://dockerprovider.blob.core.windows.net/omsagent/omsagent-1.8.1-422.universal.x64.sh | ||
wget https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/OMSAgent_v1.8.1.256/omsagent-1.8.1-256.universal.x64.sh | ||
|
||
#create file to disable omi service startup script | ||
touch /etc/.omi_disable_service_control | ||
|
||
#wget https://github.com/Microsoft/Docker-Provider/releases/download/hotfix-01292019/docker-cimprov-3.0.0-8.universal.x86_64.sh | ||
|
||
wget "https://dockerprovider.blob.core.windows.net/releases/download/4.0.0-0/docker-cimprov-4.0.0-0.universal.x86_64.sh" | ||
wget https://diliprstorage.blob.core.windows.net/mycontainer/docker-cimprov-3.0.0-5.universal.x86_64.sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we create a release in github (against health branch) and put the bits there ? please dont ship thru private channels... |
||
|
||
chmod 775 $TMPDIR/*.sh | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,12 @@ sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \ | |
dpkg-reconfigure --frontend=noninteractive locales && \ | ||
update-locale LANG=en_US.UTF-8 | ||
|
||
wget https://dockerprovider.blob.core.windows.net/omsagent/omsagent-1.8.1-416.universal.x64.sh | ||
wget https://github.com/Microsoft/OMS-Agent-for-Linux/releases/download/OMSAgent_v1.8.1.256/omsagent-1.8.1-256.universal.x64.sh | ||
|
||
#create file to disable omi service startup script | ||
touch /etc/.omi_disable_service_control | ||
|
||
wget "https://github.com/Microsoft/Docker-Provider/releases/download/4.0.0-0/docker-cimprov-4.0.0-0.universal.x86_64.sh" | ||
wget https://diliprstorage.blob.core.windows.net/mycontainer/docker-cimprov-3.0.0-5.universal.x86_64.sh | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. can we change the version from 3.0.0.5 (which is last released version) to a different version please ? |
||
|
||
chmod 775 $TMPDIR/*.sh | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you changing defaults?