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

session with round tripper keep alive #10

Open
wants to merge 40 commits into
base: upstream-master
Choose a base branch
from

Conversation

sadysnaat
Copy link

No description provided.

Gab Satchi and others added 3 commits March 25, 2021 10:40
@sadysnaat sadysnaat requested a review from jzhoucliqr March 26, 2021 04:28
@sadysnaat sadysnaat self-assigned this Mar 26, 2021
@@ -29,6 +29,11 @@ const (
// manager option.
DefaultSyncPeriod = time.Minute * 10

// DefaultEnableKeepAlive is false by default
DefaultEnableKeepAlive = false

Choose a reason for hiding this comment

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

let's make it default true?

// DefaultEnableKeepAlive is false by default
DefaultEnableKeepAlive = false

DefaultKeepAliveDuration = time.Duration(0)

Choose a reason for hiding this comment

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

with this default to 10m?

if ok, _ := c.SessionManager.SessionIsActive(ctx.context); ok {
return nil
}
if err := c.Login(ctx.context, url.User); err != nil {

Choose a reason for hiding this comment

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

actually I don't know what is the behavior here. I guess we need to test it out. build a cluster and let it run for 2 days lets see.

k8s-ci-robot and others added 8 commits March 30, 2021 06:31
- This patch updates the cluster-api dependency version to use the
latest from the main branch. As a result, the controller-runtime version
is also updates to v0.8.2
- This patch also updates the v1alpha3 refs in the codebase to v1alpha4.
- It also updates golang version to 1.15
- Changes to incorporate nightly CAPI builds

Signed-off-by: Sagar Muchhal <[email protected]>
- Sets up the controller test environment to test the CAPV controllers
using the env.Environment
- Adds a test for VSphereClusterController
- Adds new CertDir parameter to the Manager Options  used by the envtest
for Webhook certs
- Added a TODO to use the controller-runtime Options instead.

Signed-off-by: Sagar Muchhal <[email protected]>
- Adds storage-policy flavour
- adds storage policy to haproxy flavour
@sadysnaat sadysnaat force-pushed the session-keepalive branch from bf7032d to cd63694 Compare April 7, 2021 04:07
k8s-ci-robot and others added 15 commits April 7, 2021 09:21
Signed-off-by: Sagar Muchhal <[email protected]>

Co-authored-by: Yassine TIJANI <[email protected]>
…rash

Checks for length of network statuses while generating metadata
Signed-off-by: Sagar Muchhal <[email protected]>
(cherry picked from commit 64a95bd)
Adds log statements to get/create session
- Also, updates the CAPI ref commit used as a package
- Includes updates to controller-runtime version as well the nightly
images used by the E2E tests.

Signed-off-by: Sagar Muchhal <[email protected]>
…ion-1.16

Updates the golang version to 1.16 & k8s version to 1.21
Signed-off-by: Yassine TIJANI <[email protected]>
- adds Secret as a credential option
- adds VSphereIdentityRef
- adds VSphereClusterIdentity as a credential option
- utilizes AllowedNamespaces to restrict access to credentials
- follows CAPI guidelines for multi-tenancy
…proposal

First draft of multi-tenancy proposal
k8s-ci-robot and others added 14 commits May 5, 2021 10:57
add implementation details and API changes
enable multi-network PlacementConstrains
Copy of PR1059 - move CPI over to CRS and refactor flavorgen
- VSphereCluster fetches secrete when verifying connectivity
- VsphereVM utilizes identity when IdentityRef is specified in cluster
- validates secret is stored in the correct namespace for the identity types
- adds namespaces allowed logic
- adds authentication related conditions to VSphereVM
- adds vSphere secret to cluster templates
- updates secrets with finalizers and ownerref when secret is meant to be used as the Identity
- Adds VSphereClusterIdentity controller
…ip_in_vSphereVM

add checks for network validation on update in vSphereMachine
add command line args for keep alive feature

go fmt

change deafults update keepalivehandler

use session from func

keepalive default to false specify unit

duration unit changes

fix go-lint

refactor params

gofmt

constant refactor to pkg/constant

gofmt

use ctrl logger

code comment changes

fix import order

make rebase fix
@sadysnaat sadysnaat force-pushed the session-keepalive branch from 7fcf089 to caf0d81 Compare June 27, 2021 07:16
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.

8 participants