Automating an Upgrade Test - Invitation to comment

17 views
Skip to first unread message

Kris Rousey (via Google Docs)

unread,
Jan 31, 2017, 5:52:42 PM1/31/17
to kuberne...@googlegroups.com
Kris Rousey has invited you to comment on the following document:
Sender's profile photoI wrote a small upgrade test framework to help eliminate the manual upgrade testing we've been doing each release. This is a quick primer on how to add a test.
Google Docs: Create and edit documents online.
Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA
You have received this email because someone shared a document with you from Google Docs.
Logo for Google Docs

Michail Kargakis

unread,
Feb 1, 2017, 7:29:14 AM2/1/17
to Kris Rousey, kubernetes-dev
I have been meaning to write a couple of upgrade tests lately and this is literally what I have been looking for! Thanks for putting it together guys!
One question, since there is no mention in the doc re specifying versions I guess these tests run as part of the existing upgrade test suite meaning
each test will run twice: one for a N-1->N upgrade and one for a N-2->N upgrade, is that correct?

--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-dev@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/kubernetes-dev/f403043627d0157d3205476bca62%40google.com.
For more options, visit https://groups.google.com/d/optout.

Michail Kargakis

unread,
Feb 1, 2017, 8:08:35 AM2/1/17
to Kris Rousey, kubernetes-dev
Another thing that would be cool for this framework is to be able to change flags in components of my choice (eg. controller manager) for the upgrade.

On Tue, Jan 31, 2017 at 11:52 PM, 'Kris Rousey (via Google Docs)' via Kubernetes developer/contributor discussion <kuberne...@googlegroups.com> wrote:

--

Robert Bailey

unread,
Feb 1, 2017, 10:41:38 AM2/1/17
to Michail Kargakis, Kris Rousey, kubernetes-dev
On Wed, Feb 1, 2017 at 5:08 AM, Michail Kargakis <mkar...@redhat.com> wrote:
Another thing that would be cool for this framework is to be able to change flags in components of my choice (eg. controller manager) for the upgrade.

Changing flags can be accomplished by the code that actually executes the upgrade mechanism. For instance, if we use upgrade.sh (on GCE), then the new version of k8s will have the set of flags for master components based on the version of k8s that is running -- which could very likely be different between 1.5 and 1.6. 

 

On Tue, Jan 31, 2017 at 11:52 PM, 'Kris Rousey (via Google Docs)' via Kubernetes developer/contributor discussion <kubernetes-dev@googlegroups.com> wrote:
Kris Rousey has invited you to comment on the following document:
Sender's profile photoI wrote a small upgrade test framework to help eliminate the manual upgrade testing we've been doing each release. This is a quick primer on how to add a test.
Google Docs: Create and edit documents online.
Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA
You have received this email because someone shared a document with you from Google Docs.
Logo for Google Docs

--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-dev@googlegroups.com.

Kris Rousey

unread,
Feb 1, 2017, 12:51:51 PM2/1/17
to Michail Kargakis, kubernetes-dev
They will run as part of the current upgrade suite before the normal version skewed e2es. I'm also going to add some ci and pr jobs that just run these without the skewed e2es so we don't have to wait 6-8 hours for some basic results.

On Wed, Feb 1, 2017 at 4:29 AM, Michail Kargakis <mkar...@redhat.com> wrote:
I have been meaning to write a couple of upgrade tests lately and this is literally what I have been looking for! Thanks for putting it together guys!
One question, since there is no mention in the doc re specifying versions I guess these tests run as part of the existing upgrade test suite meaning
each test will run twice: one for a N-1->N upgrade and one for a N-2->N upgrade, is that correct?
On Tue, Jan 31, 2017 at 11:52 PM, 'Kris Rousey (via Google Docs)' via Kubernetes developer/contributor discussion <kubernetes-dev@googlegroups.com> wrote:
Kris Rousey has invited you to comment on the following document:
Sender's profile photoI wrote a small upgrade test framework to help eliminate the manual upgrade testing we've been doing each release. This is a quick primer on how to add a test.
Google Docs: Create and edit documents online.
Google Inc. 1600 Amphitheatre Parkway, Mountain View, CA 94043, USA
You have received this email because someone shared a document with you from Google Docs.
Logo for Google Docs

--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kuberne...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-dev@googlegroups.com.

Quinton Hoole

unread,
Feb 1, 2017, 2:31:17 PM2/1/17
to Kris Rousey, shashidhara td, Michail Kargakis, kubernetes-dev
cc shashidhara.huawei@gmail.com


The above provide upgrade coverage for:
  • Services
  • Secrets
  • ConfigMaps
  • Guestbook
  • Daemonsets
  • Jobs
... but probably require some refactoring/debugging now.

Q



--
You received this message because you are subscribed to the Google Groups "Kubernetes developer/contributor discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-dev+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-dev@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Quinton Hoole
qui...@hoole.biz
Reply all
Reply to author
Forward
This conversation is locked
You cannot reply and perform actions on locked conversations.
0 new messages