Skip to content

Conversation

@khchau7
Copy link
Owner

@khchau7 khchau7 commented Aug 25, 2021

No description provided.

khchau7 added 30 commits July 13, 2021 16:36
@serviceRecords = nil

# Adding telemetry to send pod telemetry every 5 minutes
timeDifference = (DateTime.now.to_time.to_i - @@podTelemetryTimeTracker).abs

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since enumerate only called whenever watch gets disconnected. We will have to move the telemetry code in enumerate function to merge_updates as this being called for every minute.

touch /var/opt/microsoft/docker-cimprov/log/fluentd.log
chmod 666 /var/opt/microsoft/docker-cimprov/log/fluentd.log

touch /var/opt/microsoft/docker-cimprov/log/testing-podinventory.json

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we need these files?

ENV RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR 0.9
RUN /usr/bin/apt-get update && /usr/bin/apt-get install -y libc-bin wget openssl curl sudo python-ctypes init-system-helpers net-tools rsyslog cron vim dmidecode apt-transport-https gnupg && rm -rf /var/lib/apt/lists/*
COPY setup.sh main.sh defaultpromenvvariables defaultpromenvvariables-rs defaultpromenvvariables-sidecar mdsd.xml envmdsd $tmpdir/
COPY kubeclient-4.9.2.gem setup.sh main.sh defaultpromenvvariables defaultpromenvvariables-rs defaultpromenvvariables-sidecar mdsd.xml envmdsd $tmpdir/

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not urgent, but will have to update the build code to build the gem automatically instead of copying manually.

@@ -0,0 +1,44 @@
{

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not urgent, these files needs to be removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants