Skip to content
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

Make imagePullPolicy and latest tag explicit for now #77

Merged
merged 3 commits into from
Jul 17, 2019

Conversation

rvmiller89
Copy link
Contributor

@rvmiller89 rvmiller89 commented Jul 16, 2019

Until we start tagging our sumologic/kubernetes-fluentd releases, we should be explicit about the Always imagePullPolicy and 0.0.0 tag.

Once we start tagging, we can change this to:

image: sumologic/kubernetes-fluentd:v1.blah
imagePullPolicy: IfNotPresent

Now that we got rid of `latest` tag, we can optimize for already having pulled a given version of a docker image
@rvmiller89 rvmiller89 changed the title Change to imagePullPolicy: IfNotPresent Make imagePullPolicy and latest tag explicit for now Jul 16, 2019
Copy link
Contributor

@samjsong samjsong left a comment

Choose a reason for hiding this comment

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

Since technically we tag our release with version 0.0.0, should we explicitly pull version 0.0.0 until we start tagging with actual versions? This would help remind us not to use the latest tag in the future

@rvmiller89
Copy link
Contributor Author

Do we overwrite the previous tagged image 0.0.0 each time? I guess I don't really know how tags work. Should we be incrementing instead, like 0.0.1, 0.0.2, etc. so that each version has a unique tag?

@samjsong
Copy link
Contributor

Yeah since we didn't start tagging anything we've been overriding the version 0.0.0 every time we push something new... I believe the plan was to start incrementing in that way once events and enhanced metadata were complete, starting with 1.0.0

@samjsong
Copy link
Contributor

In retrospect it would've been better to start incrementing much sooner, so we have a history of changes...

Copy link
Contributor

@lei-sumo lei-sumo left a comment

Choose a reason for hiding this comment

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

lgtm in case you tested it out.

@blaise-sumo
Copy link

blaise-sumo commented Jul 17, 2019 via email

Copy link
Contributor

@frankreno frankreno left a comment

Choose a reason for hiding this comment

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

LGTM. Once we get into a proper release cycle, it would be good to include part of the SHA as @blaise-sumo points out its pretty standard. We will also need to udpate ImagePullPolicy to ifNotPresent once we do full release cycles.

@rvmiller89 rvmiller89 merged commit dad13ae into master Jul 17, 2019
@rvmiller89 rvmiller89 deleted the rvmiller89-image-pull-policy-if-not-present branch July 17, 2019 17:20
psaia pushed a commit to psaia/sumologic-kubernetes-collection that referenced this pull request May 25, 2021
* Add ad group resource

* Ad group to advertising role

* local -> var

* Actually fix name var

* Add ad groups to roles

* new line

* Unique names for terraform ad group resources
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.

None yet

5 participants