diff --git a/.golangci.yml b/.golangci.yml index 92451dec8..40983e5b0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -70,4 +70,5 @@ linters: - errorlint - cyclop - godot + - exhaustive fast: false diff --git a/README.md b/README.md index b8d09d769..550cc9ef5 100644 --- a/README.md +++ b/README.md @@ -143,6 +143,18 @@ linodes, err := linodego.ListInstances(context.Background(), linodego.NewListOpt // err = nil ``` +### Response Caching + +By default, certain endpoints with static responses will be cached into memory. +Endpoints with cached responses are identified in their [accompanying documentation](https://pkg.go.dev/github.com/linode/linodego?utm_source=godoc). + +The default cache entry expiry time is `15` minutes. Certain endpoints may override this value to allow for more frequent refreshes (e.g. `client.GetRegion(...)`). +The global cache expiry time can be customized using the `client.SetGlobalCacheExpiration(...)` method. + +Response caching can be globally disabled or enabled for a client using the `client.UseCache(...)` method. + +The global cache can be cleared and refreshed using the `client.InvalidateCache()` method. + ### Writes When performing a `POST` or `PUT` request, multiple field related errors will be returned as a single error, currently like: diff --git a/client.go b/client.go index be1865dee..9d8a76057 100644 --- a/client.go +++ b/client.go @@ -9,7 +9,9 @@ import ( "net/url" "os" "path" + "reflect" "strconv" + "sync" "time" "github.com/go-resty/resty/v2" @@ -58,6 +60,12 @@ type Client struct { loadedProfile string configProfiles map[string]ConfigProfile + + // Fields for caching endpoint responses + shouldCache bool + cacheExpiration time.Duration + cachedEntries map[string]clientCacheEntry + cachedEntryLock *sync.RWMutex } type EnvDefaults struct { @@ -65,6 +73,14 @@ type EnvDefaults struct { Profile string } +type clientCacheEntry struct { + Created time.Time + Data any + // If != nil, use this instead of the + // global expiry + ExpiryOverride *time.Duration +} + type Request = resty.Request func init() { @@ -189,6 +205,127 @@ func (c *Client) addRetryConditional(retryConditional RetryConditional) *Client return c } +func (c *Client) addCachedResponse(endpoint string, response any, expiry *time.Duration) error { + if !c.shouldCache { + return nil + } + + u, err := url.Parse(endpoint) + if err != nil { + return fmt.Errorf("failed to parse URL for caching: %s", err) + } + + responseValue := reflect.ValueOf(response) + + entry := clientCacheEntry{ + Created: time.Now(), + ExpiryOverride: expiry, + } + + switch responseValue.Kind() { + case reflect.Ptr: + // We want to automatically deref pointers to + // avoid caching mutable data. + entry.Data = responseValue.Elem().Interface() + default: + entry.Data = response + } + + c.cachedEntryLock.Lock() + defer c.cachedEntryLock.Unlock() + + c.cachedEntries[u.Path] = entry + + return nil +} + +func (c *Client) getCachedResponse(endpoint string) (any, error) { + if !c.shouldCache { + return nil, nil + } + + u, err := url.Parse(endpoint) + if err != nil { + return nil, fmt.Errorf("failed to parse URL for caching: %s", err) + } + + c.cachedEntryLock.RLock() + + // Hacky logic to dynamically RUnlock + // only if it is still locked by the + // end of the function. + // This is necessary as we take write + // access if the entry has expired. + rLocked := true + defer func() { + if rLocked { + c.cachedEntryLock.RUnlock() + } + }() + + entry, ok := c.cachedEntries[u.Path] + if !ok { + return nil, nil + } + + // Handle expired entries + elapsedTime := time.Since(entry.Created) + + hasExpired := elapsedTime > c.cacheExpiration + if entry.ExpiryOverride != nil { + hasExpired = elapsedTime > *entry.ExpiryOverride + } + + if hasExpired { + // We need to give up our read access and request read-write access + c.cachedEntryLock.RUnlock() + rLocked = false + + c.cachedEntryLock.Lock() + defer c.cachedEntryLock.Unlock() + + delete(c.cachedEntries, u.Path) + return nil, nil + } + + return c.cachedEntries[u.Path].Data, nil +} + +// InvalidateCache clears all cached responses for all endpoints. +func (c *Client) InvalidateCache() { + c.cachedEntryLock.Lock() + defer c.cachedEntryLock.Unlock() + + // GC will handle the old map + c.cachedEntries = make(map[string]clientCacheEntry) +} + +// InvalidateCacheEndpoint invalidates a single cached endpoint. +func (c *Client) InvalidateCacheEndpoint(endpoint string) error { + u, err := url.Parse(endpoint) + if err != nil { + return fmt.Errorf("failed to parse URL for caching: %s", err) + } + + c.cachedEntryLock.Lock() + defer c.cachedEntryLock.Unlock() + + delete(c.cachedEntries, u.Path) + + return nil +} + +// SetGlobalCacheExpiration sets the desired time for any cached response +// to be valid for. +func (c *Client) SetGlobalCacheExpiration(expiryTime time.Duration) { + c.cacheExpiration = expiryTime +} + +// UseCache sets whether response caching should be used +func (c *Client) UseCache(value bool) { + c.shouldCache = value +} + // SetRetryMaxWaitTime sets the maximum delay before retrying a request. func (c *Client) SetRetryMaxWaitTime(max time.Duration) *Client { c.resty.SetRetryMaxWaitTime(max) @@ -235,6 +372,11 @@ func NewClient(hc *http.Client) (client Client) { client.resty = resty.New() } + client.shouldCache = true + client.cacheExpiration = time.Minute * 15 + client.cachedEntries = make(map[string]clientCacheEntry) + client.cachedEntryLock = &sync.RWMutex{} + client.SetUserAgent(DefaultUserAgent) baseURL, baseURLExists := os.LookupEnv(APIHostVar) diff --git a/databases.go b/databases.go index 4e972fabc..a4926b74d 100644 --- a/databases.go +++ b/databases.go @@ -212,50 +212,94 @@ func (c *Client) ListDatabases(ctx context.Context, opts *ListOptions) ([]Databa return response.Data, nil } -// ListDatabaseEngines lists all Database Engines +// ListDatabaseEngines lists all Database Engines. This endpoint is cached by default. func (c *Client) ListDatabaseEngines(ctx context.Context, opts *ListOptions) ([]DatabaseEngine, error) { response := DatabaseEnginesPagedResponse{} + if result, err := c.getCachedResponse(response.endpoint()); err != nil { + return nil, err + } else if result != nil { + return result.([]DatabaseEngine), nil + } + err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } + if err := c.addCachedResponse(response.endpoint(), response.Data, &cacheExpiryTime); err != nil { + return nil, err + } + return response.Data, nil } -// GetDatabaseEngine returns a specific Database Engine +// GetDatabaseEngine returns a specific Database Engine. This endpoint is cached by default. func (c *Client) GetDatabaseEngine(ctx context.Context, opts *ListOptions, engineID string) (*DatabaseEngine, error) { e := fmt.Sprintf("databases/engines/%s", engineID) + + if result, err := c.getCachedResponse(e); err != nil { + return nil, err + } else if result != nil { + result := result.(DatabaseEngine) + return &result, nil + } + req := c.R(ctx).SetResult(&DatabaseEngine{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } + if err := c.addCachedResponse(e, r.Result(), &cacheExpiryTime); err != nil { + return nil, err + } + return r.Result().(*DatabaseEngine), nil } -// ListDatabaseTypes lists all Types of Database provided in Linode Managed Databases +// ListDatabaseTypes lists all Types of Database provided in Linode Managed Databases. This endpoint is cached by default. func (c *Client) ListDatabaseTypes(ctx context.Context, opts *ListOptions) ([]DatabaseType, error) { response := DatabaseTypesPagedResponse{} + if result, err := c.getCachedResponse(response.endpoint()); err != nil { + return nil, err + } else if result != nil { + return result.([]DatabaseType), nil + } + err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } + if err := c.addCachedResponse(response.endpoint(), response.Data, &cacheExpiryTime); err != nil { + return nil, err + } + return response.Data, nil } -// GetDatabaseType returns a specific Database Type +// GetDatabaseType returns a specific Database Type. This endpoint is cached by default. func (c *Client) GetDatabaseType(ctx context.Context, opts *ListOptions, typeID string) (*DatabaseType, error) { e := fmt.Sprintf("databases/types/%s", typeID) + + if result, err := c.getCachedResponse(e); err != nil { + return nil, err + } else if result != nil { + result := result.(DatabaseType) + return &result, nil + } + req := c.R(ctx).SetResult(&DatabaseType{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } + if err := c.addCachedResponse(e, r.Result(), &cacheExpiryTime); err != nil { + return nil, err + } + return r.Result().(*DatabaseType), nil } diff --git a/kernels.go b/kernels.go index 84e697251..7b6b6777f 100644 --- a/kernels.go +++ b/kernels.go @@ -39,23 +39,48 @@ func (resp *LinodeKernelsPagedResponse) castResult(r *resty.Request, e string) ( return castedRes.Pages, castedRes.Results, nil } -// ListKernels lists linode kernels +// ListKernels lists linode kernels. This endpoint is cached by default. func (c *Client) ListKernels(ctx context.Context, opts *ListOptions) ([]LinodeKernel, error) { response := LinodeKernelsPagedResponse{} + + if result, err := c.getCachedResponse(response.endpoint()); err != nil { + return nil, err + } else if result != nil { + return result.([]LinodeKernel), nil + } + err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } + + if err := c.addCachedResponse(response.endpoint(), response.Data, nil); err != nil { + return nil, err + } + return response.Data, nil } -// GetKernel gets the kernel with the provided ID +// GetKernel gets the kernel with the provided ID. This endpoint is cached by default. func (c *Client) GetKernel(ctx context.Context, kernelID string) (*LinodeKernel, error) { e := fmt.Sprintf("linode/kernels/%s", kernelID) + + if result, err := c.getCachedResponse(e); err != nil { + return nil, err + } else if result != nil { + result := result.(LinodeKernel) + return &result, nil + } + req := c.R(ctx).SetResult(&LinodeKernel{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } + + if err := c.addCachedResponse(e, r.Result(), nil); err != nil { + return nil, err + } + return r.Result().(*LinodeKernel), nil } diff --git a/lke_clusters.go b/lke_clusters.go index 837b635d6..aabe739f5 100644 --- a/lke_clusters.go +++ b/lke_clusters.go @@ -138,24 +138,49 @@ func (resp *LKEVersionsPagedResponse) castResult(r *resty.Request, e string) (in return castedRes.Pages, castedRes.Results, nil } -// ListLKEVersions lists the Kubernetes versions available through LKE +// ListLKEVersions lists the Kubernetes versions available through LKE. This endpoint is cached by default. func (c *Client) ListLKEVersions(ctx context.Context, opts *ListOptions) ([]LKEVersion, error) { response := LKEVersionsPagedResponse{} + + if result, err := c.getCachedResponse(response.endpoint()); err != nil { + return nil, err + } else if result != nil { + return result.([]LKEVersion), nil + } + err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } + + if err := c.addCachedResponse(response.endpoint(), response.Data, &cacheExpiryTime); err != nil { + return nil, err + } + return response.Data, nil } -// GetLKEVersion gets details about a specific LKE Version +// GetLKEVersion gets details about a specific LKE Version. This endpoint is cached by default. func (c *Client) GetLKEVersion(ctx context.Context, version string) (*LKEVersion, error) { e := fmt.Sprintf("lke/versions/%s", version) + + if result, err := c.getCachedResponse(e); err != nil { + return nil, err + } else if result != nil { + result := result.(LKEVersion) + return &result, nil + } + req := c.R(ctx).SetResult(&LKEVersion{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } + + if err := c.addCachedResponse(e, r.Result(), &cacheExpiryTime); err != nil { + return nil, err + } + return r.Result().(*LKEVersion), nil } diff --git a/regions.go b/regions.go index 8459f0a8b..7ac72b957 100644 --- a/regions.go +++ b/regions.go @@ -3,10 +3,15 @@ package linodego import ( "context" "fmt" + "time" "github.com/go-resty/resty/v2" ) +// Region-related endpoints have a custom expiry time as the +// `status` field may update for database outages. +var cacheExpiryTime = time.Minute + // Region represents a linode region object type Region struct { ID string `json:"id"` @@ -43,23 +48,48 @@ func (resp *RegionsPagedResponse) castResult(r *resty.Request, e string) (int, i return castedRes.Pages, castedRes.Results, nil } -// ListRegions lists Regions +// ListRegions lists Regions. This endpoint is cached by default. func (c *Client) ListRegions(ctx context.Context, opts *ListOptions) ([]Region, error) { response := RegionsPagedResponse{} + + if result, err := c.getCachedResponse(response.endpoint()); err != nil { + return nil, err + } else if result != nil { + return result.([]Region), nil + } + err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } + + if err := c.addCachedResponse(response.endpoint(), response.Data, &cacheExpiryTime); err != nil { + return nil, err + } + return response.Data, nil } -// GetRegion gets the template with the provided ID +// GetRegion gets the template with the provided ID. This endpoint is cached by default. func (c *Client) GetRegion(ctx context.Context, regionID string) (*Region, error) { e := fmt.Sprintf("regions/%s", regionID) + + if result, err := c.getCachedResponse(e); err != nil { + return nil, err + } else if result != nil { + result := result.(Region) + return &result, nil + } + req := c.R(ctx).SetResult(&Region{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } + + if err := c.addCachedResponse(e, r.Result(), &cacheExpiryTime); err != nil { + return nil, err + } + return r.Result().(*Region), nil } diff --git a/test/integration/cache_test.go b/test/integration/cache_test.go new file mode 100644 index 000000000..05af3eab1 --- /dev/null +++ b/test/integration/cache_test.go @@ -0,0 +1,126 @@ +package integration + +import ( + "context" + "github.com/linode/linodego" + "strings" + "sync/atomic" + "testing" + "time" +) + +func TestCache_RegionList(t *testing.T) { + validateResult := func(r []linodego.Region, err error) { + if err != nil { + t.Fatal(err) + } + + if len(r) == 0 { + t.Fatalf("expected a list of regions - %v", r) + } + } + + client, teardown := createTestClient(t, "fixtures/TestCache_RegionList") + defer teardown() + + // Collect request number + totalRequests := int64(0) + + client.OnBeforeRequest(func(request *linodego.Request) error { + if !strings.Contains(request.URL, "regions") { + return nil + } + + if request.QueryParam.Has("page") { + return nil + } + + atomic.AddInt64(&totalRequests, 1) + return nil + }) + + // Ensure that overrides work as intended + client.SetGlobalCacheExpiration(0) + + // First request (no cache) + validateResult(client.ListRegions(context.Background(), nil)) + + // Second request (cached) + validateResult(client.ListRegions(context.Background(), nil)) + + // Clear cache + client.InvalidateCache() + + // Third request (non-cached) + validateResult(client.ListRegions(context.Background(), nil)) + + // Invalidate the region response + if err := client.InvalidateCacheEndpoint("/regions"); err != nil { + t.Fatal(err) + } + + // Fourth request (non-cached) + validateResult(client.ListRegions(context.Background(), nil)) + + // Fifth request (cache disabled) + client.UseCache(false) + validateResult(client.ListRegions(context.Background(), nil)) + + // Sixth request (cache disabled) + validateResult(client.ListRegions(context.Background(), nil)) + + // Validate request count + if totalRequests != 4 { + t.Fatalf("expected 4 requests, got %d", totalRequests) + } +} + +func TestCache_Expiration(t *testing.T) { + validateResult := func(r []linodego.LinodeKernel, err error) { + if err != nil { + t.Fatal(err) + } + + if len(r) == 0 { + t.Fatalf("expected a list of kernels - %v", r) + } + } + + client, teardown := createTestClient(t, "fixtures/TestCache_Expiration") + defer teardown() + + // Collect request number + totalRequests := int64(0) + + client.OnBeforeRequest(func(request *linodego.Request) error { + if !strings.Contains(request.URL, "kernels") || request.QueryParam.Has("page") { + return nil + } + + atomic.AddInt64(&totalRequests, 1) + return nil + }) + + // First request (no cache) + validateResult(client.ListKernels(context.Background(), nil)) + + // Second request (cached) + validateResult(client.ListKernels(context.Background(), nil)) + + // Entries should expire immediately + client.SetGlobalCacheExpiration(0) + + // Third request (non-cached) + validateResult(client.ListKernels(context.Background(), nil)) + + // Entries shouldn't expire + client.SetGlobalCacheExpiration(time.Hour) + + // Fourth request (cached) + validateResult(client.ListKernels(context.Background(), nil)) + + // Validate request count + if totalRequests != 2 { + t.Fatalf("expected 2 requests, got %d", totalRequests) + } +} diff --git a/test/integration/fixtures/TestCache_Expiration.yaml b/test/integration/fixtures/TestCache_Expiration.yaml new file mode 100644 index 000000000..8f4e688c1 --- /dev/null +++ b/test/integration/fixtures/TestCache_Expiration.yaml @@ -0,0 +1,1983 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/kernels + method: GET + response: + body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", + "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": + "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, + "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/latest-32bit", "label": "Latest 32 bit (5.19.2-x86-linode176)", + "version": "5.19.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": + "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": + "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.19.2-x86_64-linode156", "label": "5.19.2-x86_64-linode156", + "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86-linode176", + "label": "5.19.2-x86-linode176", "version": "5.19.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.18.2-x86_64-linode155", "label": "5.18.2-x86_64-linode155", + "version": "5.18.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86-linode175", + "label": "5.18.2-x86-linode175", "version": "5.18.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", + "version": "5.17.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86-linode174", + "label": "5.17.5-x86-linode174", "version": "5.17.5", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.16.13-x86-linode173", "label": "5.16.13-x86-linode173", "version": + "5.16.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86_64-linode153", + "label": "5.16.13-x86_64-linode153", "version": "5.16.13", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.16.3-x86_64-linode152", "label": "5.16.3-x86_64-linode152", + "version": "5.16.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86-linode172", + "label": "5.16.3-x86-linode172", "version": "5.16.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.15.10-x86_64-linode151", "label": "5.15.10-x86_64-linode151", + "version": "5.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86-linode171", + "label": "5.15.10-x86-linode171", "version": "5.15.10", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.14.17-x86_64-linode150", "label": "5.14.17-x86_64-linode150", + "version": "5.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86-linode170", + "label": "5.14.17-x86-linode170", "version": "5.14.17", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.14.15-x86_64-linode149", "label": "5.14.15-x86_64-linode149", + "version": "5.14.15", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86-linode169", + "label": "5.14.15-x86-linode169", "version": "5.14.15", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.14.14-x86_64-linode148", "label": "5.14.14-x86_64-linode148", + "version": "5.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86-linode168", + "label": "5.14.14-x86-linode168", "version": "5.14.14", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.14.2-x86_64-linode147", "label": "5.14.2-x86_64-linode147", + "version": "5.14.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86-linode167", + "label": "5.14.2-x86-linode167", "version": "5.14.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.13.4-x86_64-linode146", "label": "5.13.4-x86_64-linode146", + "version": "5.13.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86-linode166", + "label": "5.13.4-x86-linode166", "version": "5.13.4", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.12.13-x86_64-linode145", "label": "5.12.13-x86_64-linode145", + "version": "5.12.13", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86-linode165", + "label": "5.12.13-x86-linode165", "version": "5.12.13", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.12.2-x86_64-linode144", "label": "5.12.2-x86_64-linode144", + "version": "5.12.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86-linode164", + "label": "5.12.2-x86-linode164", "version": "5.12.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.11.13-x86_64-linode143", "label": "5.11.13-x86_64-linode143", + "version": "5.11.13", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86-linode163", + "label": "5.11.13-x86-linode163", "version": "5.11.13", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.11.9-x86_64-linode142", "label": "5.11.9-x86_64-linode142", + "version": "5.11.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86-linode162", + "label": "5.11.9-x86-linode162", "version": "5.11.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.10.13-x86_64-linode141", "label": "5.10.13-x86_64-linode141", + "version": "5.10.13", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86-linode161", + "label": "5.10.13-x86-linode161", "version": "5.10.13", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.10.2-x86_64-linode140", "label": "5.10.2-x86_64-linode140", + "version": "5.10.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86-linode160", + "label": "5.10.2-x86-linode160", "version": "5.10.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.9.6-x86_64-linode139", "label": "5.9.6-x86_64-linode139", "version": + "5.9.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86-linode159", + "label": "5.9.6-x86-linode159", "version": "5.9.6", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.8.10-x86-linode158", "label": "5.8.10-x86-linode158", "version": + "5.8.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86_64-linode138", + "label": "5.8.10-x86_64-linode138", "version": "5.8.10", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.8.3-x86_64-linode137", "label": "5.8.3-x86_64-linode137", "version": + "5.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86-linode157", + "label": "5.8.3-x86-linode157", "version": "5.8.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.7.6-x86-linode156", "label": "5.7.6-x86-linode156", "version": + "5.7.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86-linode155", "label": + "5.6.14-x86-linode155", "version": "5.6.14", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86-linode154", + "label": "5.6.1-x86-linode154", "version": "5.6.1", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.4.10-x86-linode152", "label": "5.4.10-x86-linode152", "version": + "5.4.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86-linode151", + "label": "5.3.11-x86-linode151", "version": "5.3.11", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.3.7-x86-linode150", "label": "5.3.7-x86-linode150", "version": + "5.3.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86-linode149", "label": + "5.2.9-x86-linode149", "version": "5.2.9", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86-linode148", + "label": "5.1.17-x86-linode148", "version": "5.1.17", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.1.11-x86-linode147", "label": "5.1.11-x86-linode147", "version": + "5.1.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86-linode146", + "label": "5.1.5-x86-linode146", "version": "5.1.5", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.120-x86-linode145", "label": "4.14.120-x86-linode145", "version": + "4.14.120", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86-linode144", + "label": "5.1.2-x86-linode144", "version": "5.1.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.0.8-x86-linode143", "label": "5.0.8-x86-linode143", "version": + "5.0.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86-linode141", "label": + "4.20.4-x86-linode141", "version": "4.20.4", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86-linode140", + "label": "4.19.8-x86-linode140", "version": "4.19.8", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.19.5-x86-linode139", "label": "4.19.5-x86-linode139", "version": + "4.19.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86-linode138", + "label": "4.18.16-x86-linode138", "version": "4.18.16", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.18.8-x86-linode137", "label": "4.18.8-x86-linode137", "version": + "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode136", + "label": "4.18.8-x86-linode136", "version": "4.18.8", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.17-x86-linode135", "label": "4.17.17-x86-linode135", "version": + "4.17.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86-linode134", + "label": "4.17.15-x86-linode134", "version": "4.17.15", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.14-x86-linode133", "label": "4.17.14-x86-linode133", "version": + "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode132", + "label": "4.17.14-x86-linode132", "version": "4.17.14", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.12-x86-linode131", "label": "4.17.12-x86-linode131", "version": + "4.17.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86-linode130", + "label": "4.17.11-x86-linode130", "version": "4.17.11", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.8-x86-linode129", "label": "4.17.8-x86-linode129", "version": + "4.17.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86-linode128", + "label": "4.17.2-x86-linode128", "version": "4.17.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.16.11-x86-linode127", "label": "4.16.11-x86-linode127", "version": + "4.16.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86-linode126", + "label": "4.15.18-x86-linode126", "version": "4.15.18", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.13-x86-linode125", "label": "4.15.13-x86-linode125", "version": + "4.15.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86-linode124", + "label": "4.15.12-x86-linode124", "version": "4.15.12", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.10-x86-linode123", "label": "4.15.10-x86-linode123", "version": + "4.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86-linode122", + "label": "4.15.8-x86-linode122", "version": "4.15.8", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.7-x86-linode121", "label": "4.15.7-x86-linode121", "version": + "4.15.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86-linode119", + "label": "4.14.19-x86-linode119", "version": "4.14.19", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.17-x86-linode118", "label": "4.14.17-x86-linode118", "version": + "4.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86-linode117", + "label": "4.9.80-x86-linode117", "version": "4.9.80", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.4.115-x86-linode116", "label": "4.4.115-x86-linode116", "version": + "4.4.115", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86-linode115", + "label": "4.4.113-x86-linode115", "version": "4.4.113", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": + "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", + "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": + "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", + "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": + "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", + "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": + "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", + "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": + "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86-linode104", + "label": "4.9.36-x86-linode104", "version": "4.9.36", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.33-x86-linode102", "label": "4.9.33-x86-linode102", "version": + "4.9.33", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86-linode100", + "label": "4.9.15-x86-linode100", "version": "4.9.15", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.7-x86-linode99", "label": "4.9.7-x86-linode99", "version": + "4.9.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86-linode98", "label": + "4.9.0-x86-linode98", "version": "4.9.0", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86-linode97", + "label": "4.8.6-x86-linode97", "version": "4.8.6", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.4-x86-linode96", "label": "4.8.4-x86-linode96", "version": + "4.8.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86-linode95", "label": + "4.8.3-x86-linode95", "version": "4.8.3", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": + 1, "pages": 4, "results": 314}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - unknown + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/kernels?page=2 + method: GET + response: + body: '{"data": [{"id": "linode/4.8.1-x86-linode94", "label": "4.8.1-x86-linode94", + "version": "4.8.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", "label": + "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86-linode90", + "label": "4.7.0-x86-linode90", "version": "4.7.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.6.5-x86-linode89", "label": "4.6.5-x86-linode89", "version": + "4.6.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", "label": + "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86-linode86", + "label": "4.5.3-x86-linode86", "version": "4.5.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.5.0-x86-linode84", "label": "4.5.0-x86-linode84", "version": + "4.5.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", "label": + "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86-linode82", + "label": "4.4.0-x86-linode82", "version": "4.4.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.1.5-x86-linode80", "label": "4.1.5-x86-linode80", "version": + "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", "label": + "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86-linode78", + "label": "4.1.0-x86-linode78", "version": "4.1.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.5-x86-linode77", "label": "4.0.5-x86-linode77", "version": + "4.0.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", "label": + "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86-linode75", + "label": "4.0.4-x86-linode75", "version": "4.0.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.2-x86-linode74", "label": "4.0.2-x86-linode74", "version": + "4.0.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", "label": + "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode72", + "label": "4.0-x86-linode72", "version": "4.0", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", "version": + "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86-linode70", + "label": "3.18.5-x86-linode70", "version": "3.18.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.18.3-x86-linode69", "label": "3.18.3-x86-linode69", "version": + "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86-linode68", + "label": "3.18.1-x86-linode68", "version": "3.18.1", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.16.7-x86-linode67", "label": "3.16.7-x86-linode67", "version": + "3.16.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86-linode65", + "label": "3.16.5-x86-linode65", "version": "3.16.5", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.15.4-x86-linode64", "label": "3.15.4-x86-linode64", "version": + "3.15.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86-linode63", + "label": "3.15.3-x86-linode63", "version": "3.15.3", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.15.2-x86-linode62", "label": "3.15.2-x86-linode62", "version": + "3.15.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode61", + "label": "3.14.5-x86-linode61", "version": "3.14.5", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.14.5-x86-linode60", "label": "3.14.5-x86-linode60", "version": + "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86-linode59", + "label": "3.14.4-x86-linode59", "version": "3.14.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.14.1-x86-linode58", "label": "3.14.1-x86-linode58", "version": + "3.14.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86-linode57", + "label": "3.13.7-x86-linode57", "version": "3.13.7", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.12.9-x86-linode56", "label": "3.12.9-x86-linode56", "version": + "3.12.9", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86-linode54", + "label": "3.11.6-x86-linode54", "version": "3.11.6", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.12.6-x86-linode55", "label": "3.12.6-x86-linode55", "version": + "3.12.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86-linode53", + "label": "3.10.3-x86-linode53", "version": "3.10.3", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.9.3-x86-linode52", "label": "3.9.3-x86-linode52", "version": + "3.9.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86-linode51", "label": + "3.9.2-x86-linode51", "version": "3.9.2", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-linode50", + "label": "3.8.4-linode50", "version": "3.8.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.7.10-linode49", "label": "3.7.10-linode49", "version": "3.7.10", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-linode48", "label": "3.7.5-linode48", + "version": "3.7.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-linode47", "label": + "3.6.5-linode47", "version": "3.6.5", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-linode46", + "label": "3.5.3-linode46", "version": "3.5.3", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.5.2-linode45", "label": "3.5.2-linode45", "version": "3.5.2", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-linode44", "label": "3.4.2-linode44", + "version": "3.4.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-linode43", "label": + "3.0.18-linode43", "version": "3.0.18", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.10-linode42", + "label": "3.1.10-linode42", "version": "3.1.10", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.17-linode41", "label": "3.0.17-linode41", "version": "3.0.17", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-linode40", "label": "3.2.1-linode40", + "version": "3.2.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-linode39", "label": + "3.1.0-linode39", "version": "3.1.0", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode38", + "label": "3.0.4-linode38", "version": "3.0.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.4-linode37", "label": "3.0.4-linode37", "version": "3.0.4", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode36", "label": "3.0.4-linode36", + "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0-linode35", "label": + "3.0.0-linode35", "version": "3.0.0", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-linode34", + "label": "2.6.39.1-linode34", "version": "2.6.39", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.39-linode33", "label": "2.6.39-linode33", "version": "2.6.39", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/2.6.38.3-linode32", "label": "2.6.38.3-linode32", + "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-linode31", "label": + "2.6.38-linode31", "version": "2.6.38", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.37-linode30", + "label": "2.6.37-linode30", "version": "2.6.37", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.35.7-linode29", "label": "2.6.35.7-linode29", "version": + "2.6.35", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.16-linode28", "label": + "2.6.32.16-linode28", "version": "2.6.32", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-linode27", + "label": "2.6.34-linode27", "version": "2.6.34", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.32.12-linode25", "label": "2.6.32.12-linode25", "version": + "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.33-linode24", "label": + "2.6.33-linode24", "version": "2.6.33", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-linode23", + "label": "2.6.32-linode23", "version": "2.6.32", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.18.8-linode22", "label": "2.6.18.8-linode22", "version": + "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-linode21", "label": + "2.6.31.5-linode21", "version": "2.6.31", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-linode20", + "label": "2.6.30.5-linode20", "version": "2.6.30", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.23.17-linode44", "label": "2.6.23.17-linode44", "version": + "2.6.23", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode19", "label": + "2.6.18.8-linode19", "version": "2.6.18", "kvm": false, "architecture": "i386", + "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": + "linode/2.6.29-linode18", "label": "2.6.29-linode18", "version": "2.6.29", "kvm": + false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.28.3-linode17", "label": "2.6.28.3-linode17", "version": + "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode16", "label": + "2.6.18.8-linode16", "version": "2.6.18", "kvm": false, "architecture": "i386", + "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": + "linode/2.6.28-linode15", "label": "2.6.28-linode15", "version": "2.6.28", "kvm": + false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.27.4-linode14", "label": "2.6.27.4-linode14", "version": + "2.6.27", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.26-linode13", "label": + "2.6.26-linode13", "version": "2.6.26", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25.10-linode12", + "label": "2.6.25.10-linode12", "version": "2.6.25", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.18.8-linode10", "label": "2.6.18.8-linode10", "version": + "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25-linode9", "label": + "2.6.25-linode9", "version": "2.6.25", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.24.4-linode8", + "label": "2.6.24.4-linode8", "version": "2.6.24", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.18.8-domU-linode7", "label": "2.6.18.8-domU-linode7", "version": + "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": + true, "built": null}, {"id": "linode/latest-2.6-64bit", "label": "Latest 2.6 + (2.6.39.1-x86_64-linode19)", "version": "2.6.39", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/latest-64bit", "label": "Latest 64 bit (5.19.2-x86_64-linode156)", + "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", + "label": "Latest Legacy (2.6.18.8-x86_64-linode10)", "version": "2.6.18", "kvm": + false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", + "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", + "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": + "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", + "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", + "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", + "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": + "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", + "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", + "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", + "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", + "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", + "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", "version": + "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.1-x86_64-linode122", + "label": "5.0.1-x86_64-linode122", "version": "5.0.1", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.20.4-x86_64-linode121", "label": "4.20.4-x86_64-linode121", + "version": "4.20.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86_64-linode120", + "label": "4.19.8-x86_64-linode120", "version": "4.19.8", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], + "page": 2, "pages": 4, "results": 314}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - unknown + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/kernels?page=3 + method: GET + response: + body: '{"data": [{"id": "linode/4.19.5-x86_64-linode119", "label": "4.19.5-x86_64-linode119", + "version": "4.19.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86_64-linode118", + "label": "4.18.16-x86_64-linode118", "version": "4.18.16", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.18.8-x86_64-linode117", "label": "4.18.8-x86_64-linode117", + "version": "4.18.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86_64-linode116", + "label": "4.17.17-x86_64-linode116", "version": "4.17.17", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.15-x86_64-linode115", "label": "4.17.15-x86_64-linode115", + "version": "4.17.15", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode114", + "label": "4.17.14-x86_64-linode114", "version": "4.17.14", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.14-x86_64-linode113", "label": "4.17.14-x86_64-linode113", + "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86_64-linode112", + "label": "4.17.12-x86_64-linode112", "version": "4.17.12", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.11-x86_64-linode111", "label": "4.17.11-x86_64-linode111", + "version": "4.17.11", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86_64-linode110", + "label": "4.17.8-x86_64-linode110", "version": "4.17.8", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.2-x86_64-linode109", "label": "4.17.2-x86_64-linode109", + "version": "4.17.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86_64-linode108", + "label": "4.16.11-x86_64-linode108", "version": "4.16.11", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.18-x86_64-linode107", "label": "4.15.18-x86_64-linode107", + "version": "4.15.18", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86_64-linode106", + "label": "4.15.13-x86_64-linode106", "version": "4.15.13", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.12-x86_64-linode105", "label": "4.15.12-x86_64-linode105", + "version": "4.15.12", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86_64-linode104", + "label": "4.15.10-x86_64-linode104", "version": "4.15.10", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.8-x86_64-linode103", "label": "4.15.8-x86_64-linode103", + "version": "4.15.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86_64-linode102", + "label": "4.15.7-x86_64-linode102", "version": "4.15.7", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.19-x86_64-linode100", "label": "4.14.19-x86_64-linode100", + "version": "4.14.19", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86_64-linode99", + "label": "4.14.17-x86_64-linode99", "version": "4.14.17", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.80-x86_64-linode98", "label": "4.9.80-x86_64-linode98", "version": + "4.9.80", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86_64-linode97", + "label": "4.4.115-x86_64-linode97", "version": "4.4.115", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.4.113-x86_64-linode96", "label": "4.4.113-x86_64-linode96", + "version": "4.4.113", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86_64-linode95", + "label": "4.9.78-x86_64-linode95", "version": "4.9.78", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.14-x86_64-linode94", "label": "4.14.14-x86_64-linode94", + "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode93", + "label": "4.14.14-x86_64-linode93", "version": "4.14.14", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.64-x86_64-linode88", "label": "4.9.64-x86_64-linode88", "version": + "4.9.64", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86_64-linode89", + "label": "4.9.68-x86_64-linode89", "version": "4.9.68", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.12-x86_64-linode92", "label": "4.14.12-x86_64-linode92", + "version": "4.14.12", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86_64-linode91", + "label": "4.14.11-x86_64-linode91", "version": "4.14.11", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.56-x86_64-linode87", "label": "4.9.56-x86_64-linode87", "version": + "4.9.56", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86_64-linode86", + "label": "4.9.50-x86_64-linode86", "version": "4.9.50", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.36-x86_64-linode85", "label": "4.9.36-x86_64-linode85", "version": + "4.9.36", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86_64-linode83", + "label": "4.9.33-x86_64-linode83", "version": "4.9.33", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.15-x86_64-linode81", "label": "4.9.15-x86_64-linode81", "version": + "4.9.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86_64-linode80", + "label": "4.9.7-x86_64-linode80", "version": "4.9.7", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.0-x86_64-linode79", "label": "4.9.0-x86_64-linode79", "version": + "4.9.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86_64-linode78", + "label": "4.8.6-x86_64-linode78", "version": "4.8.6", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.4-x86_64-linode77", "label": "4.8.4-x86_64-linode77", "version": + "4.8.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86_64-linode76", + "label": "4.8.3-x86_64-linode76", "version": "4.8.3", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.1-x86_64-linode75", "label": "4.8.1-x86_64-linode75", "version": + "4.8.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86_64-linode73", + "label": "4.7.3-x86_64-linode73", "version": "4.7.3", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.7.0-x86_64-linode72", "label": "4.7.0-x86_64-linode72", "version": + "4.7.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86_64-linode71", + "label": "4.6.5-x86_64-linode71", "version": "4.6.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.6.3-x86_64-linode70", "label": "4.6.3-x86_64-linode70", "version": + "4.6.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86_64-linode69", + "label": "4.5.5-x86_64-linode69", "version": "4.5.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.5.3-x86_64-linode67", "label": "4.5.3-x86_64-linode67", "version": + "4.5.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86_64-linode65", + "label": "4.5.0-x86_64-linode65", "version": "4.5.0", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.4.4-x86_64-linode64", "label": "4.4.4-x86_64-linode64", "version": + "4.4.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86_64-linode63", + "label": "4.4.0-x86_64-linode63", "version": "4.4.0", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.1.5-x86_64-linode61", "label": "4.1.5-x86_64-linode61", "version": + "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode60", + "label": "4.1.5-x86_64-linode60 ", "version": "4.1.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.1.0-x86_64-linode59", "label": "4.1.0-x86_64-linode59 ", "version": + "4.1.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86_64-linode58", + "label": "4.0.5-x86_64-linode58", "version": "4.0.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.4-x86_64-linode57", "label": "4.0.4-x86_64-linode57", "version": + "4.0.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86_64-linode56", + "label": "4.0.2-x86_64-linode56", "version": "4.0.2", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.1-x86_64-linode55", "label": "4.0.1-x86_64-linode55", "version": + "4.0.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86_64-linode54", + "label": "4.0-x86_64-linode54", "version": "4.0", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.19.1-x86_64-linode53", "label": "3.19.1-x86_64-linode53", "version": + "3.19.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86_64-linode52", + "label": "3.18.5-x86_64-linode52", "version": "3.18.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.18.3-x86_64-linode51", "label": "3.18.3-x86_64-linode51", "version": + "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86_64-linode50", + "label": "3.18.1-x86_64-linode50", "version": "3.18.1", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.16.7-x86_64-linode49", "label": "3.16.7-x86_64-linode49", "version": + "3.16.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86_64-linode46", + "label": "3.16.5-x86_64-linode46", "version": "3.16.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.15.4-x86_64-linode45", "label": "3.15.4-x86_64-linode45", "version": + "3.15.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86_64-linode44", + "label": "3.15.3-x86_64-linode44", "version": "3.15.3", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.15.2-x86_64-linode43", "label": "3.15.2-x86_64-linode43", "version": + "3.15.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode42", + "label": "3.14.5-x86_64-linode42", "version": "3.14.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.14.5-x86_64-linode41", "label": "3.14.5-x86_64-linode41", "version": + "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86_64-linode40", + "label": "3.14.4-x86_64-linode40", "version": "3.14.4", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.14.1-x86_64-linode39", "label": "3.14.1-x86_64-linode39", "version": + "3.14.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86_64-linode38", + "label": "3.13.7-x86_64-linode38", "version": "3.13.7", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.12.9-x86_64-linode37", "label": "3.12.9-x86_64-linode37", "version": + "3.12.9", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86_64-linode36", + "label": "3.12.6-x86_64-linode36", "version": "3.12.6", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.11.6-x86_64-linode35", "label": "3.11.6-x86_64-linode35", "version": + "3.11.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86_64-linode34", + "label": "3.10.3-x86_64-linode34", "version": "3.10.3", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.9.3-x86_64-linode33", "label": "3.9.3-x86_64-linode33", "version": + "3.9.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86_64-linode32", + "label": "3.9.2-x86_64-linode32", "version": "3.9.2", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.8.4-x86_64-linode31", "label": "3.8.4-x86_64-linode31", "version": + "3.8.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-x86_64-linode30", + "label": "3.7.10-x86_64-linode30", "version": "3.7.10", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.7.5-x86_64-linode29", "label": "3.7.5-x86_64-linode29", "version": + "3.7.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-x86_64-linode28", + "label": "3.6.5-x86_64-linode28", "version": "3.6.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.5.3-x86_64-linode27", "label": "3.5.3-x86_64-linode27", "version": + "3.5.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-x86_64-linode25", + "label": "3.4.2-x86_64-linode25", "version": "3.2.4", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 ", + "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", + "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": + "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", + "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": + "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", + "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": + "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", + "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", + "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", + "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": + "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", + "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", + "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-x86_64-linode11", + "label": "2.6.32-x86_64-linode11", "version": "2.6.32", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.18.8-x86_64-linode10", "label": "2.6.18.8-x86_64-linode10", + "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-x86_64-linode9", + "label": "2.6.31.5-x86_64-linode9", "version": "2.6.31", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], + "page": 3, "pages": 4, "results": 314}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - unknown + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/kernels?page=4 + method: GET + response: + body: '{"data": [{"id": "linode/2.6.30.5-x86_64-linode8", "label": "2.6.30.5-x86_64-linode8", + "version": "2.6.30", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode7", + "label": "2.6.18.8-x86_64-linode7", "version": "2.6.18", "kvm": false, "architecture": + "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.29-x86_64-linode6", "label": "2.6.29-x86_64-linode6", "version": + "2.6.29", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-x86_64-linode5", + "label": "2.6.28.3-x86_64-linode5", "version": "2.6.28", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.28-x86_64-linode4", "label": "2.6.28-x86_64-linode4", "version": + "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-x86_64-linode3", + "label": "2.6.27.4-x86_64-linode3", "version": "2.6.27", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.16.38-x86_64-linode2", "label": "2.6.16.38-x86_64-linode2", + "version": "2.6.16", "kvm": false, "architecture": "x86_64", "pvops": false, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode1", + "label": "2.6.18.8-x86_64-linode1", "version": "2.6.18", "kvm": false, "architecture": + "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.5.2-x86_64-linode26", "label": "3.5.2-x86_64-linode26", "version": + "3.5.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub2", "label": "GRUB + 2", "version": "2.06", "kvm": true, "architecture": "x86_64", "pvops": false, + "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/direct-disk", + "label": "Direct Disk", "version": "", "kvm": true, "architecture": "x86_64", + "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": + "linode/grub-legacy", "label": "GRUB (Legacy)", "version": "2.0.0", "kvm": true, + "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/pv-grub_x86_32", "label": "pv-grub-x86_32", "version": "2.6.26", + "kvm": false, "architecture": "i386", "pvops": false, "deprecated": false, "built": + "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_64", "label": "pv-grub-x86_64", + "version": "2.6.26", "kvm": false, "architecture": "x86_64", "pvops": false, + "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 4, "pages": 4, + "results": 314}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - unknown + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/kernels + method: GET + response: + body: '{"data": [{"id": "linode/latest-2.6-32bit", "label": "Latest 2.6 (2.6.39.1-linode34)", + "version": "2.6.39", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/latest-2.6", "label": + "Latest 2.6 Stable (2.6.23.17-linode44)", "version": "2.6.24", "kvm": false, + "architecture": "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/latest-32bit", "label": "Latest 32 bit (5.19.2-x86-linode176)", + "version": "5.19.2", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode22", "label": + "Latest Legacy (2.6.18.8-linode22)", "version": "2.6.18", "kvm": false, "architecture": + "i386", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.19.2-x86_64-linode156", "label": "5.19.2-x86_64-linode156", + "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.19.2-x86-linode176", + "label": "5.19.2-x86-linode176", "version": "5.19.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.18.2-x86_64-linode155", "label": "5.18.2-x86_64-linode155", + "version": "5.18.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.18.2-x86-linode175", + "label": "5.18.2-x86-linode175", "version": "5.18.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.17.5-x86_64-linode154", "label": "5.17.5-x86_64-linode154", + "version": "5.17.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.17.5-x86-linode174", + "label": "5.17.5-x86-linode174", "version": "5.17.5", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.16.13-x86-linode173", "label": "5.16.13-x86-linode173", "version": + "5.16.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.13-x86_64-linode153", + "label": "5.16.13-x86_64-linode153", "version": "5.16.13", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.16.3-x86_64-linode152", "label": "5.16.3-x86_64-linode152", + "version": "5.16.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.16.3-x86-linode172", + "label": "5.16.3-x86-linode172", "version": "5.16.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.15.10-x86_64-linode151", "label": "5.15.10-x86_64-linode151", + "version": "5.15.10", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.15.10-x86-linode171", + "label": "5.15.10-x86-linode171", "version": "5.15.10", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.14.17-x86_64-linode150", "label": "5.14.17-x86_64-linode150", + "version": "5.14.17", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.17-x86-linode170", + "label": "5.14.17-x86-linode170", "version": "5.14.17", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.14.15-x86_64-linode149", "label": "5.14.15-x86_64-linode149", + "version": "5.14.15", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.15-x86-linode169", + "label": "5.14.15-x86-linode169", "version": "5.14.15", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.14.14-x86_64-linode148", "label": "5.14.14-x86_64-linode148", + "version": "5.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.14-x86-linode168", + "label": "5.14.14-x86-linode168", "version": "5.14.14", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.14.2-x86_64-linode147", "label": "5.14.2-x86_64-linode147", + "version": "5.14.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.14.2-x86-linode167", + "label": "5.14.2-x86-linode167", "version": "5.14.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.13.4-x86_64-linode146", "label": "5.13.4-x86_64-linode146", + "version": "5.13.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.13.4-x86-linode166", + "label": "5.13.4-x86-linode166", "version": "5.13.4", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.12.13-x86_64-linode145", "label": "5.12.13-x86_64-linode145", + "version": "5.12.13", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.13-x86-linode165", + "label": "5.12.13-x86-linode165", "version": "5.12.13", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.12.2-x86_64-linode144", "label": "5.12.2-x86_64-linode144", + "version": "5.12.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.12.2-x86-linode164", + "label": "5.12.2-x86-linode164", "version": "5.12.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.11.13-x86_64-linode143", "label": "5.11.13-x86_64-linode143", + "version": "5.11.13", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.13-x86-linode163", + "label": "5.11.13-x86-linode163", "version": "5.11.13", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.11.9-x86_64-linode142", "label": "5.11.9-x86_64-linode142", + "version": "5.11.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.11.9-x86-linode162", + "label": "5.11.9-x86-linode162", "version": "5.11.9", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.10.13-x86_64-linode141", "label": "5.10.13-x86_64-linode141", + "version": "5.10.13", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.13-x86-linode161", + "label": "5.10.13-x86-linode161", "version": "5.10.13", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.10.2-x86_64-linode140", "label": "5.10.2-x86_64-linode140", + "version": "5.10.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.10.2-x86-linode160", + "label": "5.10.2-x86-linode160", "version": "5.10.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.9.6-x86_64-linode139", "label": "5.9.6-x86_64-linode139", "version": + "5.9.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.9.6-x86-linode159", + "label": "5.9.6-x86-linode159", "version": "5.9.6", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.8.10-x86-linode158", "label": "5.8.10-x86-linode158", "version": + "5.8.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.10-x86_64-linode138", + "label": "5.8.10-x86_64-linode138", "version": "5.8.10", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.8.3-x86_64-linode137", "label": "5.8.3-x86_64-linode137", "version": + "5.8.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.8.3-x86-linode157", + "label": "5.8.3-x86-linode157", "version": "5.8.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.7.6-x86-linode156", "label": "5.7.6-x86-linode156", "version": + "5.7.6", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86-linode155", "label": + "5.6.14-x86-linode155", "version": "5.6.14", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.1-x86-linode154", + "label": "5.6.1-x86-linode154", "version": "5.6.1", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.4.10-x86-linode152", "label": "5.4.10-x86-linode152", "version": + "5.4.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.11-x86-linode151", + "label": "5.3.11-x86-linode151", "version": "5.3.11", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.3.7-x86-linode150", "label": "5.3.7-x86-linode150", "version": + "5.3.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/5.2.9-x86-linode149", "label": + "5.2.9-x86-linode149", "version": "5.2.9", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86-linode148", + "label": "5.1.17-x86-linode148", "version": "5.1.17", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.1.11-x86-linode147", "label": "5.1.11-x86-linode147", "version": + "5.1.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86-linode146", + "label": "5.1.5-x86-linode146", "version": "5.1.5", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.120-x86-linode145", "label": "4.14.120-x86-linode145", "version": + "4.14.120", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86-linode144", + "label": "5.1.2-x86-linode144", "version": "5.1.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.0.8-x86-linode143", "label": "5.0.8-x86-linode143", "version": + "5.0.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.20.4-x86-linode141", "label": + "4.20.4-x86-linode141", "version": "4.20.4", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86-linode140", + "label": "4.19.8-x86-linode140", "version": "4.19.8", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.19.5-x86-linode139", "label": "4.19.5-x86-linode139", "version": + "4.19.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86-linode138", + "label": "4.18.16-x86-linode138", "version": "4.18.16", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.18.8-x86-linode137", "label": "4.18.8-x86-linode137", "version": + "4.18.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.8-x86-linode136", + "label": "4.18.8-x86-linode136", "version": "4.18.8", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.17-x86-linode135", "label": "4.17.17-x86-linode135", "version": + "4.17.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.15-x86-linode134", + "label": "4.17.15-x86-linode134", "version": "4.17.15", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.14-x86-linode133", "label": "4.17.14-x86-linode133", "version": + "4.17.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86-linode132", + "label": "4.17.14-x86-linode132", "version": "4.17.14", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.12-x86-linode131", "label": "4.17.12-x86-linode131", "version": + "4.17.12", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.11-x86-linode130", + "label": "4.17.11-x86-linode130", "version": "4.17.11", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.8-x86-linode129", "label": "4.17.8-x86-linode129", "version": + "4.17.8", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.2-x86-linode128", + "label": "4.17.2-x86-linode128", "version": "4.17.2", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.16.11-x86-linode127", "label": "4.16.11-x86-linode127", "version": + "4.16.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.18-x86-linode126", + "label": "4.15.18-x86-linode126", "version": "4.15.18", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.13-x86-linode125", "label": "4.15.13-x86-linode125", "version": + "4.15.13", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.12-x86-linode124", + "label": "4.15.12-x86-linode124", "version": "4.15.12", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.10-x86-linode123", "label": "4.15.10-x86-linode123", "version": + "4.15.10", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.8-x86-linode122", + "label": "4.15.8-x86-linode122", "version": "4.15.8", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.7-x86-linode121", "label": "4.15.7-x86-linode121", "version": + "4.15.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.19-x86-linode119", + "label": "4.14.19-x86-linode119", "version": "4.14.19", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.17-x86-linode118", "label": "4.14.17-x86-linode118", "version": + "4.14.17", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.80-x86-linode117", + "label": "4.9.80-x86-linode117", "version": "4.9.80", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.4.115-x86-linode116", "label": "4.4.115-x86-linode116", "version": + "4.4.115", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.113-x86-linode115", + "label": "4.4.113-x86-linode115", "version": "4.4.113", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.78-x86-linode114", "label": "4.9.78-x86-linode114", "version": + "4.9.78", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86-linode113", + "label": "4.14.14-x86-linode113", "version": "4.14.14", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.14-x86-linode112", "label": "4.14.14-x86-linode112", "version": + "4.14.14", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.64-x86-linode107", + "label": "4.9.64-x86-linode107", "version": "4.9.64", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.68-x86-linode108", "label": "4.9.68-x86-linode108", "version": + "4.9.68", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.12-x86-linode111", + "label": "4.14.12-x86-linode111", "version": "4.14.12", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.11-x86-linode110", "label": "4.14.11-x86-linode110", "version": + "4.14.11", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.56-x86-linode106", + "label": "4.9.56-x86-linode106", "version": "4.9.56", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.50-x86-linode105", "label": "4.9.50-x86-linode105", "version": + "4.9.50", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.36-x86-linode104", + "label": "4.9.36-x86-linode104", "version": "4.9.36", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.33-x86-linode102", "label": "4.9.33-x86-linode102", "version": + "4.9.33", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.15-x86-linode100", + "label": "4.9.15-x86-linode100", "version": "4.9.15", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.7-x86-linode99", "label": "4.9.7-x86-linode99", "version": + "4.9.7", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.0-x86-linode98", "label": + "4.9.0-x86-linode98", "version": "4.9.0", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86-linode97", + "label": "4.8.6-x86-linode97", "version": "4.8.6", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.4-x86-linode96", "label": "4.8.4-x86-linode96", "version": + "4.8.4", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86-linode95", "label": + "4.8.3-x86-linode95", "version": "4.8.3", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], "page": + 1, "pages": 4, "results": 314}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - unknown + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/kernels?page=2 + method: GET + response: + body: '{"data": [{"id": "linode/4.8.1-x86-linode94", "label": "4.8.1-x86-linode94", + "version": "4.8.1", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86-linode92", "label": + "4.7.3-x86-linode92", "version": "4.7.3", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.0-x86-linode90", + "label": "4.7.0-x86-linode90", "version": "4.7.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.6.5-x86-linode89", "label": "4.6.5-x86-linode89", "version": + "4.6.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86-linode88", "label": + "4.5.5-x86-linode88", "version": "4.5.5", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.3-x86-linode86", + "label": "4.5.3-x86-linode86", "version": "4.5.3", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.5.0-x86-linode84", "label": "4.5.0-x86-linode84", "version": + "4.5.0", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.4-x86-linode83", "label": + "4.4.4-x86-linode83", "version": "4.4.4", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86-linode82", + "label": "4.4.0-x86-linode82", "version": "4.4.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.1.5-x86-linode80", "label": "4.1.5-x86-linode80", "version": + "4.1.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86-linode79", "label": + "4.1.5-x86-linode79", "version": "4.1.5", "kvm": true, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.0-x86-linode78", + "label": "4.1.0-x86-linode78", "version": "4.1.0", "kvm": true, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.5-x86-linode77", "label": "4.0.5-x86-linode77", "version": + "4.0.5", "kvm": true, "architecture": "i386", "pvops": true, "deprecated": true, + "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86-linode76", "label": + "4.0.5-x86-linode76", "version": "4.0.5", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.4-x86-linode75", + "label": "4.0.4-x86-linode75", "version": "4.0.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.2-x86-linode74", "label": "4.0.2-x86-linode74", "version": + "4.0.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode73", "label": + "4.0.1-x86-linode73", "version": "4.0.1", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86-linode72", + "label": "4.0-x86-linode72", "version": "4.0", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.19.1-x86-linode71", "label": "3.19.1-x86-linode71", "version": + "3.19.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86-linode70", + "label": "3.18.5-x86-linode70", "version": "3.18.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.18.3-x86-linode69", "label": "3.18.3-x86-linode69", "version": + "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86-linode68", + "label": "3.18.1-x86-linode68", "version": "3.18.1", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.16.7-x86-linode67", "label": "3.16.7-x86-linode67", "version": + "3.16.7", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86-linode65", + "label": "3.16.5-x86-linode65", "version": "3.16.5", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.15.4-x86-linode64", "label": "3.15.4-x86-linode64", "version": + "3.15.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86-linode63", + "label": "3.15.3-x86-linode63", "version": "3.15.3", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.15.2-x86-linode62", "label": "3.15.2-x86-linode62", "version": + "3.15.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86-linode61", + "label": "3.14.5-x86-linode61", "version": "3.14.5", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.14.5-x86-linode60", "label": "3.14.5-x86-linode60", "version": + "3.14.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86-linode59", + "label": "3.14.4-x86-linode59", "version": "3.14.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.14.1-x86-linode58", "label": "3.14.1-x86-linode58", "version": + "3.14.1", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86-linode57", + "label": "3.13.7-x86-linode57", "version": "3.13.7", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.12.9-x86-linode56", "label": "3.12.9-x86-linode56", "version": + "3.12.9", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.11.6-x86-linode54", + "label": "3.11.6-x86-linode54", "version": "3.11.6", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.12.6-x86-linode55", "label": "3.12.6-x86-linode55", "version": + "3.12.6", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86-linode53", + "label": "3.10.3-x86-linode53", "version": "3.10.3", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.9.3-x86-linode52", "label": "3.9.3-x86-linode52", "version": + "3.9.3", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86-linode51", "label": + "3.9.2-x86-linode51", "version": "3.9.2", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.8.4-linode50", + "label": "3.8.4-linode50", "version": "3.8.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.7.10-linode49", "label": "3.7.10-linode49", "version": "3.7.10", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/3.7.5-linode48", "label": "3.7.5-linode48", + "version": "3.7.5", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-linode47", "label": + "3.6.5-linode47", "version": "3.6.5", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.5.3-linode46", + "label": "3.5.3-linode46", "version": "3.5.3", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.5.2-linode45", "label": "3.5.2-linode45", "version": "3.5.2", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-linode44", "label": "3.4.2-linode44", + "version": "3.4.2", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.18-linode43", "label": + "3.0.18-linode43", "version": "3.0.18", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.10-linode42", + "label": "3.1.10-linode42", "version": "3.1.10", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.17-linode41", "label": "3.0.17-linode41", "version": "3.0.17", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-linode40", "label": "3.2.1-linode40", + "version": "3.2.0", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.1.0-linode39", "label": + "3.1.0-linode39", "version": "3.1.0", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode38", + "label": "3.0.4-linode38", "version": "3.0.4", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.4-linode37", "label": "3.0.4-linode37", "version": "3.0.4", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-linode36", "label": "3.0.4-linode36", + "version": "3.0.4", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0-linode35", "label": + "3.0.0-linode35", "version": "3.0.0", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-linode34", + "label": "2.6.39.1-linode34", "version": "2.6.39", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.39-linode33", "label": "2.6.39-linode33", "version": "2.6.39", + "kvm": false, "architecture": "i386", "pvops": true, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/2.6.38.3-linode32", "label": "2.6.38.3-linode32", + "version": "2.6.38", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-linode31", "label": + "2.6.38-linode31", "version": "2.6.38", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.37-linode30", + "label": "2.6.37-linode30", "version": "2.6.37", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.35.7-linode29", "label": "2.6.35.7-linode29", "version": + "2.6.35", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.16-linode28", "label": + "2.6.32.16-linode28", "version": "2.6.32", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-linode27", + "label": "2.6.34-linode27", "version": "2.6.34", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.32.12-linode25", "label": "2.6.32.12-linode25", "version": + "2.6.33", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.33-linode24", "label": + "2.6.33-linode24", "version": "2.6.33", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-linode23", + "label": "2.6.32-linode23", "version": "2.6.32", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.18.8-linode22", "label": "2.6.18.8-linode22", "version": + "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-linode21", "label": + "2.6.31.5-linode21", "version": "2.6.31", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.30.5-linode20", + "label": "2.6.30.5-linode20", "version": "2.6.30", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.23.17-linode44", "label": "2.6.23.17-linode44", "version": + "2.6.23", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode19", "label": + "2.6.18.8-linode19", "version": "2.6.18", "kvm": false, "architecture": "i386", + "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": + "linode/2.6.29-linode18", "label": "2.6.29-linode18", "version": "2.6.29", "kvm": + false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.28.3-linode17", "label": "2.6.28.3-linode17", "version": + "2.6.28", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-linode16", "label": + "2.6.18.8-linode16", "version": "2.6.18", "kvm": false, "architecture": "i386", + "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": + "linode/2.6.28-linode15", "label": "2.6.28-linode15", "version": "2.6.28", "kvm": + false, "architecture": "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.27.4-linode14", "label": "2.6.27.4-linode14", "version": + "2.6.27", "kvm": false, "architecture": "i386", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.26-linode13", "label": + "2.6.26-linode13", "version": "2.6.26", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25.10-linode12", + "label": "2.6.25.10-linode12", "version": "2.6.25", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.18.8-linode10", "label": "2.6.18.8-linode10", "version": + "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.25-linode9", "label": + "2.6.25-linode9", "version": "2.6.25", "kvm": false, "architecture": "i386", + "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.24.4-linode8", + "label": "2.6.24.4-linode8", "version": "2.6.24", "kvm": false, "architecture": + "i386", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.18.8-domU-linode7", "label": "2.6.18.8-domU-linode7", "version": + "2.6.18", "kvm": false, "architecture": "i386", "pvops": false, "deprecated": + true, "built": null}, {"id": "linode/latest-2.6-64bit", "label": "Latest 2.6 + (2.6.39.1-x86_64-linode19)", "version": "2.6.39", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/latest-64bit", "label": "Latest 64 bit (5.19.2-x86_64-linode156)", + "version": "5.19.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + false, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode10", + "label": "Latest Legacy (2.6.18.8-x86_64-linode10)", "version": "2.6.18", "kvm": + false, "architecture": "x86_64", "pvops": false, "deprecated": true, "built": + "2018-01-02T03:04:05"}, {"id": "linode/5.7.6-x86_64-linode136", "label": "5.7.6-x86_64-linode136", + "version": "5.7.6", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.6.14-x86_64-linode135", + "label": "5.6.14-x86_64-linode135", "version": "5.6.14", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.6.1-x86_64-linode134", "label": "5.6.1-x86_64-linode134", "version": + "5.6.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.4.10-x86_64-linode132", + "label": "5.4.10-x86_64-linode132", "version": "5.4.10", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.3.11-x86_64-linode131", "label": "5.3.11-x86_64-linode131", + "version": "5.3.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.3.7-x86_64-linode130", + "label": "5.3.7-x86_64-linode130", "version": "5.3.7", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.2.9-x86_64-linode129", "label": "5.2.9-x86_64-linode129", "version": + "5.2.9", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.17-x86_64-linode128", + "label": "5.1.17-x86_64-linode128", "version": "5.1.17", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.1.11-x86_64-linode127", "label": "5.1.11-x86_64-linode127", + "version": "5.1.11", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.5-x86_64-linode126", + "label": "5.1.5-x86_64-linode126", "version": "5.1.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.120-x86_64-linode125", "label": "4.14.120-x86_64-linode125", + "version": "4.14.120", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.1.2-x86_64-linode124", + "label": "5.1.2-x86_64-linode124", "version": "5.1.2", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/5.0.8-x86_64-linode123", "label": "5.0.8-x86_64-linode123", "version": + "5.0.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/5.0.1-x86_64-linode122", + "label": "5.0.1-x86_64-linode122", "version": "5.0.1", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.20.4-x86_64-linode121", "label": "4.20.4-x86_64-linode121", + "version": "4.20.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.19.8-x86_64-linode120", + "label": "4.19.8-x86_64-linode120", "version": "4.19.8", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], + "page": 2, "pages": 4, "results": 314}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - unknown + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/kernels?page=3 + method: GET + response: + body: '{"data": [{"id": "linode/4.19.5-x86_64-linode119", "label": "4.19.5-x86_64-linode119", + "version": "4.19.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.18.16-x86_64-linode118", + "label": "4.18.16-x86_64-linode118", "version": "4.18.16", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.18.8-x86_64-linode117", "label": "4.18.8-x86_64-linode117", + "version": "4.18.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.17-x86_64-linode116", + "label": "4.17.17-x86_64-linode116", "version": "4.17.17", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.15-x86_64-linode115", "label": "4.17.15-x86_64-linode115", + "version": "4.17.15", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.14-x86_64-linode114", + "label": "4.17.14-x86_64-linode114", "version": "4.17.14", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.14-x86_64-linode113", "label": "4.17.14-x86_64-linode113", + "version": "4.17.14", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.12-x86_64-linode112", + "label": "4.17.12-x86_64-linode112", "version": "4.17.12", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.11-x86_64-linode111", "label": "4.17.11-x86_64-linode111", + "version": "4.17.11", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.17.8-x86_64-linode110", + "label": "4.17.8-x86_64-linode110", "version": "4.17.8", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.17.2-x86_64-linode109", "label": "4.17.2-x86_64-linode109", + "version": "4.17.2", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.16.11-x86_64-linode108", + "label": "4.16.11-x86_64-linode108", "version": "4.16.11", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.18-x86_64-linode107", "label": "4.15.18-x86_64-linode107", + "version": "4.15.18", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.13-x86_64-linode106", + "label": "4.15.13-x86_64-linode106", "version": "4.15.13", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.12-x86_64-linode105", "label": "4.15.12-x86_64-linode105", + "version": "4.15.12", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.10-x86_64-linode104", + "label": "4.15.10-x86_64-linode104", "version": "4.15.10", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.15.8-x86_64-linode103", "label": "4.15.8-x86_64-linode103", + "version": "4.15.8", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.15.7-x86_64-linode102", + "label": "4.15.7-x86_64-linode102", "version": "4.15.7", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.19-x86_64-linode100", "label": "4.14.19-x86_64-linode100", + "version": "4.14.19", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.17-x86_64-linode99", + "label": "4.14.17-x86_64-linode99", "version": "4.14.17", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.80-x86_64-linode98", "label": "4.9.80-x86_64-linode98", "version": + "4.9.80", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.115-x86_64-linode97", + "label": "4.4.115-x86_64-linode97", "version": "4.4.115", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.4.113-x86_64-linode96", "label": "4.4.113-x86_64-linode96", + "version": "4.4.113", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.78-x86_64-linode95", + "label": "4.9.78-x86_64-linode95", "version": "4.9.78", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.14-x86_64-linode94", "label": "4.14.14-x86_64-linode94", + "version": "4.14.14", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.14-x86_64-linode93", + "label": "4.14.14-x86_64-linode93", "version": "4.14.14", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.64-x86_64-linode88", "label": "4.9.64-x86_64-linode88", "version": + "4.9.64", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.68-x86_64-linode89", + "label": "4.9.68-x86_64-linode89", "version": "4.9.68", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.14.12-x86_64-linode92", "label": "4.14.12-x86_64-linode92", + "version": "4.14.12", "kvm": true, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.14.11-x86_64-linode91", + "label": "4.14.11-x86_64-linode91", "version": "4.14.11", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.56-x86_64-linode87", "label": "4.9.56-x86_64-linode87", "version": + "4.9.56", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.50-x86_64-linode86", + "label": "4.9.50-x86_64-linode86", "version": "4.9.50", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.36-x86_64-linode85", "label": "4.9.36-x86_64-linode85", "version": + "4.9.36", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.33-x86_64-linode83", + "label": "4.9.33-x86_64-linode83", "version": "4.9.33", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.15-x86_64-linode81", "label": "4.9.15-x86_64-linode81", "version": + "4.9.15", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.9.7-x86_64-linode80", + "label": "4.9.7-x86_64-linode80", "version": "4.9.7", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.9.0-x86_64-linode79", "label": "4.9.0-x86_64-linode79", "version": + "4.9.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.6-x86_64-linode78", + "label": "4.8.6-x86_64-linode78", "version": "4.8.6", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.4-x86_64-linode77", "label": "4.8.4-x86_64-linode77", "version": + "4.8.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.8.3-x86_64-linode76", + "label": "4.8.3-x86_64-linode76", "version": "4.8.3", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.8.1-x86_64-linode75", "label": "4.8.1-x86_64-linode75", "version": + "4.8.1", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.7.3-x86_64-linode73", + "label": "4.7.3-x86_64-linode73", "version": "4.7.3", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.7.0-x86_64-linode72", "label": "4.7.0-x86_64-linode72", "version": + "4.7.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.6.5-x86_64-linode71", + "label": "4.6.5-x86_64-linode71", "version": "4.6.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.6.3-x86_64-linode70", "label": "4.6.3-x86_64-linode70", "version": + "4.6.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.5-x86_64-linode69", + "label": "4.5.5-x86_64-linode69", "version": "4.5.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.5.3-x86_64-linode67", "label": "4.5.3-x86_64-linode67", "version": + "4.5.3", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.5.0-x86_64-linode65", + "label": "4.5.0-x86_64-linode65", "version": "4.5.0", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.4.4-x86_64-linode64", "label": "4.4.4-x86_64-linode64", "version": + "4.4.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.4.0-x86_64-linode63", + "label": "4.4.0-x86_64-linode63", "version": "4.4.0", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.1.5-x86_64-linode61", "label": "4.1.5-x86_64-linode61", "version": + "4.1.5", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.1.5-x86_64-linode60", + "label": "4.1.5-x86_64-linode60 ", "version": "4.1.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.1.0-x86_64-linode59", "label": "4.1.0-x86_64-linode59 ", "version": + "4.1.0", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.5-x86_64-linode58", + "label": "4.0.5-x86_64-linode58", "version": "4.0.5", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.4-x86_64-linode57", "label": "4.0.4-x86_64-linode57", "version": + "4.0.4", "kvm": true, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0.2-x86_64-linode56", + "label": "4.0.2-x86_64-linode56", "version": "4.0.2", "kvm": true, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/4.0.1-x86_64-linode55", "label": "4.0.1-x86_64-linode55", "version": + "4.0.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/4.0-x86_64-linode54", + "label": "4.0-x86_64-linode54", "version": "4.0", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.19.1-x86_64-linode53", "label": "3.19.1-x86_64-linode53", "version": + "3.19.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.5-x86_64-linode52", + "label": "3.18.5-x86_64-linode52", "version": "3.18.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.18.3-x86_64-linode51", "label": "3.18.3-x86_64-linode51", "version": + "3.18.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.18.1-x86_64-linode50", + "label": "3.18.1-x86_64-linode50", "version": "3.18.1", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.16.7-x86_64-linode49", "label": "3.16.7-x86_64-linode49", "version": + "3.16.7", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.16.5-x86_64-linode46", + "label": "3.16.5-x86_64-linode46", "version": "3.16.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.15.4-x86_64-linode45", "label": "3.15.4-x86_64-linode45", "version": + "3.15.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.15.3-x86_64-linode44", + "label": "3.15.3-x86_64-linode44", "version": "3.15.3", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.15.2-x86_64-linode43", "label": "3.15.2-x86_64-linode43", "version": + "3.15.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.5-x86_64-linode42", + "label": "3.14.5-x86_64-linode42", "version": "3.14.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.14.5-x86_64-linode41", "label": "3.14.5-x86_64-linode41", "version": + "3.14.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.14.4-x86_64-linode40", + "label": "3.14.4-x86_64-linode40", "version": "3.14.4", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.14.1-x86_64-linode39", "label": "3.14.1-x86_64-linode39", "version": + "3.14.1", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.13.7-x86_64-linode38", + "label": "3.13.7-x86_64-linode38", "version": "3.13.7", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.12.9-x86_64-linode37", "label": "3.12.9-x86_64-linode37", "version": + "3.12.9", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.12.6-x86_64-linode36", + "label": "3.12.6-x86_64-linode36", "version": "3.12.6", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.11.6-x86_64-linode35", "label": "3.11.6-x86_64-linode35", "version": + "3.11.6", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.10.3-x86_64-linode34", + "label": "3.10.3-x86_64-linode34", "version": "3.10.3", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.9.3-x86_64-linode33", "label": "3.9.3-x86_64-linode33", "version": + "3.9.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.9.2-x86_64-linode32", + "label": "3.9.2-x86_64-linode32", "version": "3.9.2", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.8.4-x86_64-linode31", "label": "3.8.4-x86_64-linode31", "version": + "3.8.4", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.7.10-x86_64-linode30", + "label": "3.7.10-x86_64-linode30", "version": "3.7.10", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.7.5-x86_64-linode29", "label": "3.7.5-x86_64-linode29", "version": + "3.7.5", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.6.5-x86_64-linode28", + "label": "3.6.5-x86_64-linode28", "version": "3.6.5", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.5.3-x86_64-linode27", "label": "3.5.3-x86_64-linode27", "version": + "3.5.3", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.4.2-x86_64-linode25", + "label": "3.4.2-x86_64-linode25", "version": "3.2.4", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.18-x86_64-linode24", "label": "3.0.18-x86_64-linode24 ", + "version": "3.0.18", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.2.1-x86_64-linode23", + "label": "3.2.1-x86_64-linode23", "version": "3.2.0", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.1.0-x86_64-linode22", "label": "3.1.0-x86_64-linode22", "version": + "3.1.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/3.0.4-x86_64-linode21", + "label": "3.0.4-x86_64-linode21", "version": "3.0.4", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.0.0-x86_64-linode20", "label": "3.0.0-x86_64-linode20", "version": + "3.0.0", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.39.1-x86_64-linode19", + "label": "2.6.39.1-x86_64-linode19", "version": "2.6.39", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.39-x86_64-linode18", "label": "2.6.39-x86_64-linode18", "version": + "2.6.39", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.38-x86_64-linode17", + "label": "2.6.38-x86_64-linode17", "version": "2.6.38", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.35.4-x86_64-linode16", "label": "2.6.35.4-x86_64-linode16", + "version": "2.6.35", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32.12-x86_64-linode15", + "label": "2.6.32.12-x86_64-linode15", "version": "2.6.32", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.34-x86_64-linode13", "label": "2.6.34-x86_64-linode13", "version": + "2.6.34", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.34-x86_64-linode14", + "label": "2.6.34-x86_64-linode14", "version": "2.6.34", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.32.12-x86_64-linode12", "label": "2.6.32.12-x86_64-linode12", + "version": "2.6.32", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.32-x86_64-linode11", + "label": "2.6.32-x86_64-linode11", "version": "2.6.32", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.18.8-x86_64-linode10", "label": "2.6.18.8-x86_64-linode10", + "version": "2.6.18", "kvm": false, "architecture": "x86_64", "pvops": false, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.31.5-x86_64-linode9", + "label": "2.6.31.5-x86_64-linode9", "version": "2.6.31", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}], + "page": 3, "pages": 4, "results": 314}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - unknown + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/linode/kernels?page=4 + method: GET + response: + body: '{"data": [{"id": "linode/2.6.30.5-x86_64-linode8", "label": "2.6.30.5-x86_64-linode8", + "version": "2.6.30", "kvm": false, "architecture": "x86_64", "pvops": true, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode7", + "label": "2.6.18.8-x86_64-linode7", "version": "2.6.18", "kvm": false, "architecture": + "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.29-x86_64-linode6", "label": "2.6.29-x86_64-linode6", "version": + "2.6.29", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.28.3-x86_64-linode5", + "label": "2.6.28.3-x86_64-linode5", "version": "2.6.28", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.28-x86_64-linode4", "label": "2.6.28-x86_64-linode4", "version": + "2.6.28", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.27.4-x86_64-linode3", + "label": "2.6.27.4-x86_64-linode3", "version": "2.6.27", "kvm": false, "architecture": + "x86_64", "pvops": true, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/2.6.16.38-x86_64-linode2", "label": "2.6.16.38-x86_64-linode2", + "version": "2.6.16", "kvm": false, "architecture": "x86_64", "pvops": false, + "deprecated": true, "built": "2018-01-02T03:04:05"}, {"id": "linode/2.6.18.8-x86_64-linode1", + "label": "2.6.18.8-x86_64-linode1", "version": "2.6.18", "kvm": false, "architecture": + "x86_64", "pvops": false, "deprecated": true, "built": "2018-01-02T03:04:05"}, + {"id": "linode/3.5.2-x86_64-linode26", "label": "3.5.2-x86_64-linode26", "version": + "3.5.2", "kvm": false, "architecture": "x86_64", "pvops": true, "deprecated": + true, "built": "2018-01-02T03:04:05"}, {"id": "linode/grub2", "label": "GRUB + 2", "version": "2.06", "kvm": true, "architecture": "x86_64", "pvops": false, + "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": "linode/direct-disk", + "label": "Direct Disk", "version": "", "kvm": true, "architecture": "x86_64", + "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, {"id": + "linode/grub-legacy", "label": "GRUB (Legacy)", "version": "2.0.0", "kvm": true, + "architecture": "x86_64", "pvops": false, "deprecated": false, "built": "2018-01-02T03:04:05"}, + {"id": "linode/pv-grub_x86_32", "label": "pv-grub-x86_32", "version": "2.6.26", + "kvm": false, "architecture": "i386", "pvops": false, "deprecated": false, "built": + "2018-01-02T03:04:05"}, {"id": "linode/pv-grub_x86_64", "label": "pv-grub-x86_64", + "version": "2.6.26", "kvm": false, "architecture": "x86_64", "pvops": false, + "deprecated": false, "built": "2018-01-02T03:04:05"}], "page": 4, "pages": 4, + "results": 314}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - unknown + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/fixtures/TestCache_RegionList.yaml b/test/integration/fixtures/TestCache_RegionList.yaml new file mode 100644 index 000000000..561024a30 --- /dev/null +++ b/test/integration/fixtures/TestCache_RegionList.yaml @@ -0,0 +1,419 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/regions + method: GET + response: + body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", + "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", + "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], + "page": 1, "pages": 1, "results": 11}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/regions + method: GET + response: + body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", + "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", + "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], + "page": 1, "pages": 1, "results": 11}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/regions + method: GET + response: + body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", + "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", + "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], + "page": 1, "pages": 1, "results": 11}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/regions + method: GET + response: + body: '{"data": [{"id": "ap-west", "country": "in", "capabilities": ["Linodes", + "NodeBalancers", "Block Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "172.105.34.5,172.105.35.5,172.105.36.5,172.105.37.5,172.105.38.5,172.105.39.5,172.105.40.5,172.105.41.5,172.105.42.5,172.105.43.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ca-central", "country": "ca", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.0.5,172.105.3.5,172.105.4.5,172.105.5.5,172.105.6.5,172.105.7.5,172.105.8.5,172.105.9.5,172.105.10.5,172.105.11.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-southeast", "country": "au", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "172.105.166.5,172.105.169.5,172.105.168.5,172.105.172.5,172.105.162.5,172.105.170.5,172.105.167.5,172.105.171.5,172.105.181.5,172.105.161.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-central", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "72.14.179.5,72.14.188.5,173.255.199.5,66.228.53.5,96.126.122.5,96.126.124.5,96.126.127.5,198.58.107.5,198.58.111.5,23.239.24.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-west", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "173.230.145.5,173.230.147.5,173.230.155.5,173.255.212.5,173.255.219.5,173.255.241.5,173.255.243.5,173.255.244.5,74.207.241.5,74.207.242.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-southeast", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "74.207.231.5,173.230.128.5,173.230.129.5,173.230.136.5,173.230.140.5,66.228.59.5,66.228.62.5,50.116.35.5,50.116.41.5,23.239.18.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "us-east", "country": "us", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Bare Metal", "Block Storage Migrations", "Managed Databases"], "status": "ok", + "resolvers": {"ipv4": "66.228.42.5,96.126.106.5,50.116.53.5,50.116.58.5,50.116.61.5,50.116.62.5,66.175.211.5,97.107.133.4,207.192.69.4,207.192.69.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "eu-west", "country": "uk", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "178.79.182.5,176.58.107.5,176.58.116.5,176.58.121.5,151.236.220.5,212.71.252.5,212.71.253.5,109.74.192.20,109.74.193.20,109.74.194.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-south", "country": "sg", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "139.162.11.5,139.162.13.5,139.162.14.5,139.162.15.5,139.162.16.5,139.162.21.5,139.162.27.5,103.3.60.18,103.3.60.19,103.3.60.20", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "eu-central", "country": "de", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Vlans", "Block Storage Migrations", "Managed Databases"], "status": "ok", "resolvers": + {"ipv4": "139.162.130.5,139.162.131.5,139.162.132.5,139.162.133.5,139.162.134.5,139.162.135.5,139.162.136.5,139.162.137.5,139.162.138.5,139.162.139.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}, + {"id": "ap-northeast", "country": "jp", "capabilities": ["Linodes", "NodeBalancers", + "Block Storage", "Kubernetes", "Cloud Firewall", "Block Storage Migrations", + "Managed Databases"], "status": "ok", "resolvers": {"ipv4": "139.162.66.5,139.162.67.5,139.162.68.5,139.162.69.5,139.162.70.5,139.162.71.5,139.162.72.5,139.162.73.5,139.162.74.5,139.162.75.5", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}}], + "page": 1, "pages": 1, "results": 11}' + headers: + Access-Control-Allow-Credentials: + - "true" + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Access-Control-Expose-Headers: + - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status + Cache-Control: + - private, max-age=900 + - private, max-age=60, s-maxage=60 + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - '*' + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "800" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml index 08d9b4fa7..96b4a02bc 100644 --- a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml +++ b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75770, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76166, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-apiend", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,7 +172,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75770/api-endpoints + url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please @@ -213,7 +213,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75770/api-endpoints + url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please @@ -254,7 +254,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75770/api-endpoints + url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please @@ -295,12 +295,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75770/api-endpoints + url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints method: GET response: - body: '{"page": 1, "pages": 1, "results": 4, "data": [{"endpoint": "https://8e414421-ea57-4d4c-a74b-2c790c98c61f.ap-west-1.linodelke.net:443"}, - {"endpoint": "https://8e414421-ea57-4d4c-a74b-2c790c98c61f.ap-west-1.linodelke.net:6443"}, - {"endpoint": "https://172.105.46.180:443"}, {"endpoint": "https://172.105.46.180:6443"}]}' + body: '{"page": 1, "pages": 1, "results": 4, "data": [{"endpoint": "https://065a2454-9ec1-45de-95dd-59581bddc587.ap-west-2.linodelke.net:443"}, + {"endpoint": "https://065a2454-9ec1-45de-95dd-59581bddc587.ap-west-2.linodelke.net:6443"}, + {"endpoint": "https://172.105.44.221:443"}, {"endpoint": "https://172.105.44.221:6443"}]}' headers: Access-Control-Allow-Credentials: - "true" @@ -354,7 +354,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75770 + url: https://api.linode.com/v4beta/lke/clusters/76166 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml index 2a62722bb..4e2ea82b1 100644 --- a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75772, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76168, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,10 +172,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75772 + url: https://api.linode.com/v4beta/lke/clusters/76168 method: GET response: - body: '{"id": 75772, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76168, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -231,10 +231,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75772/dashboard + url: https://api.linode.com/v4beta/lke/clusters/76168/dashboard method: GET response: - body: '{"url": "https://39f88fe1-e124-4347-95ae-2aa97f96ff5b.dashboard.ap-west-1.linodelke.net"}' + body: '{"url": "https://4540c914-7a8a-4f92-8d98-ddd1d60d9476.dashboard.ap-west-2.linodelke.net"}' headers: Access-Control-Allow-Credentials: - "true" @@ -288,7 +288,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75772 + url: https://api.linode.com/v4beta/lke/clusters/76168 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_GetFound.yaml b/test/integration/fixtures/TestLKECluster_GetFound.yaml index 853e85a24..f0abcb535 100644 --- a/test/integration/fixtures/TestLKECluster_GetFound.yaml +++ b/test/integration/fixtures/TestLKECluster_GetFound.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75767, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76163, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,10 +172,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75767 + url: https://api.linode.com/v4beta/lke/clusters/76163 method: GET response: - body: '{"id": 75767, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76163, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -231,7 +231,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75767 + url: https://api.linode.com/v4beta/lke/clusters/76163 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml index cd2abef0e..6aff0e776 100644 --- a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75771, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76167, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' @@ -173,10 +173,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771 + url: https://api.linode.com/v4beta/lke/clusters/76167 method: GET response: - body: '{"id": 75771, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76167, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' @@ -233,7 +233,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -274,7 +274,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -315,7 +315,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -356,7 +356,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -397,7 +397,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -438,7 +438,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -479,7 +479,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -520,7 +520,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -561,10 +561,51 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig method: GET response: - body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTXZha05EUVdWaFowRjNTVUpCWjBsQ1FVUkJUa0puYTNGb2EybEhPWGN3UWtGUmMwWkJSRUZXVFZKTmQwVlJXVVJXVVZGRVJYZHdjbVJYU213S1kyMDFiR1JIVm5wTlFqUllSRlJKZVUxVVFYaE5SRVV5VFdwamVFMHhiMWhFVkUxNVRWUkJkMDU2UlRKTmFtTjRUVEZ2ZDBaVVJWUk5Ra1ZIUVRGVlJRcEJlRTFMWVROV2FWcFlTblZhV0ZKc1kzcERRMEZUU1hkRVVWbEtTMjlhU1doMlkwNUJVVVZDUWxGQlJHZG5SVkJCUkVORFFWRnZRMmRuUlVKQlRWRnRDak42WkM5VmFtWnhUV1ZpUjBwWlpUWmpNREZXVFRaNlRFSmxWbmd6TVZWMmJVZFJSRzF0YlZNNWJXVnBkbkpxYjNrclFsQmpVM2hMVWxob1EwRTJNVkFLU0U5MWEzVkdjbEp5VmxKc1VFeE9TWGRXYkVnelpXcEZablkzVXpoTU5FSTVhalF2YVVNdmNTc3lOM1JrV0ZoQmVFSTNReTgxVldnM1NqVjNMMjFuVWdvelNtMDVNVzlaWVRrM2VrWlhTR1JLUVZSbVFTOVVVM0oyVlVveVFqZzBSbFpLTkU5SVlqTlpkamN5TURoRFpVWlNZa3M0WjFaUVdrVk1aV1oyYXpBNUNpdFBiV1FyY25WcFVsZHFkV2hYYVVkVlowNW1XVmhPVVM5NFJXNXBkemsxV0hCS2RVaHZjMlpxU0hSWWREVnFSV0pZUW5GQ056Smtaa3R3YUU4dlZtRUtNVmMwVGtwTlZuSlZkbVEwVTJ0Q1VFTkxlVkpTTnl0WFdYUnRSMDFzUWlzeGNrRkthalZIZVZOcksySjVTak0yU0VoTU56ZHRSell5WkVsM2NtczVTd28wTUdoNE4zcFpXbk1yYjBoMVQwRnRTRUpqUTBGM1JVRkJZVTVhVFVaamQwUm5XVVJXVWpCUVFWRklMMEpCVVVSQlowdHJUVUU0UjBFeFZXUkZkMFZDQ2k5M1VVWk5RVTFDUVdZNGQwaFJXVVJXVWpCUFFrSlpSVVpCVjFjeFdGVlNSblV2UldkNVVWZHhLMUUwYzI5alVHdGtNMnhOUWxWSFFURlZaRVZSVVU4S1RVRjVRME50ZERGWmJWWjVZbTFXTUZwWVRYZEVVVmxLUzI5YVNXaDJZMDVCVVVWTVFsRkJSR2RuUlVKQlFtbzRWMGhpTjFCS1IzSkVhVzU0VVhKSlJncGFUMG96TVRnelRtWlljbFFyYVRSa1dXMVZPRTVNVEZSYWNFVmlSbVI2UldWUmJYazJjSGhXUlRoRVVGTTVTemRLZEVselZtdFBXV2N6UWxSalYyeHhDbVJQVFZwU1QzSlBLM00xVm1KeFNGa3plSE5TTlVkRGRHY3Jka3cwUVdWTmJqTlhVRzAwTjJReWRVdG1XRlZNY0RJek9FVm5jVGRaZG5kQlpXNVRTVXdLSzNwUWRUTnFUVXMwTURkQmNVSmlhMUZQZEU5VU9EbFNWRGw2UjFkWmNtZGFibFZoYjJzMVZHSTVaRGxGT0hjck1FZDZMMHhhUWxWQ1lrUmlRa0poV2dvd1RrSnNkRzlLVVhreWRtMUhia1YxYm5salRtVk1RVms1YzB0blYzcEtXa3BZUkROa1dHdzBaWFpvUXpWeFFUbERLeXR6UzFZcldpOVlibU5SYmtJNENrNHJNWHBpY25KR01ISlFNM1kxUmpORFRVMUhaa2MxVEdwalZHdzFiVGNyZGxZd1oyZFZWVWQxYzBWb1ZEZHhRa2w1YzFSaGR6aEtSUzlIY0hBelJYRUtWbU5GUFFvdExTMHRMVVZPUk***REMOVED***RFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgc2VydmVyOiBodHRwczovLzcyMWM4ZjE1LWVkYWQtNGRmNi1hNmNiLWVjZmY2YjlkMDA4MC5hcC13ZXN0LTEubGlub2RlbGtlLm5ldDo0NDMKICBuYW1lOiBsa2U3NTc3MQoKdXNlcnM6Ci0gbmFtZTogbGtlNzU3NzEtYWRtaW4KICB1c2VyOgogICAgYXMtdXNlci1leHRyYToge30KICAgIHRva2VuOiBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SW1KalRVczVRbmxZY0d3MVRrRmpWa0pxT0V4a2IzaFdSSE5QVEZnNU0xOXVkSFU0TWxNeWRGbG1lazBpZlEuZXlKcGMzTWlPaUpyZFdKbGNtNWxkR1Z6TDNObGNuWnBZMlZoWTJOdmRXNTBJaXdpYTNWaVpYSnVaWFJsY3k1cGJ5OXpaWEoyYVdObFlXTmpiM1Z1ZEM5dVlXMWxjM0JoWTJVaU9pSnJkV0psTFhONWMzUmxiU0lzSW10MVltVnlibVYwWlhNdWFXOHZjMlZ5ZG1salpXRmpZMjkxYm5RdmMyVmpjbVYwTG01aGJXVWlPaUpzYTJVdFlXUnRhVzR0ZEc5clpXNHROSEJ5Ym1ZaUxDSnJkV0psY201bGRHVnpMbWx2TDNObGNuWnBZMlZoWTJOdmRXNTBMM05sY25acFkyVXRZV05qYjNWdWRDNXVZVzFsSWpvaWJHdGxMV0ZrYldsdUlpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl6WlhKMmFXTmxMV0ZqWTI5MWJuUXVkV2xrSWpvaU5ETXdaRFk0WVdZdE56STBNQzAwWVdWa0xUZzJPVFV0TmpFell6SXdabUZtTkRVNElpd2ljM1ZpSWpvaWMzbHpkR1Z0T25ObGNuWnBZMlZoWTJOdmRXNTBPbXQxWW1VdGMzbHpkR1Z0T214clpTMWhaRzFwYmlKOS5SS25hQWxac004eGtBYnV3S0RVTE5makJ3WWZBNjJJWFB4elVVWHl0WHNnaHI3dTFtQzZxOTYxLVA0WFdlMDlSRmNoRC1EWFI5dVFTRUFweHpGa3FKUFNjeEZZTlltTmctWnl4bF9xeUdrdDhIT3czcDJrbFd0RkZ0NUQxSDAyc1g1M0lfbW5RdFNGemZkVWFqMjBtUVdUZnBlU1ROVGdxTGR5MHB1d0dSc0ZWUjE1eGI4bU4wSG9hMENQeEZsOHY0Vl9HU0NUZGQwWk94ZGNpeS1YX21wR09ra0c3RnBiY1FGWTVqVGYwa0RrZmFscU96NE5md3V4NjJrcUVKbk54clBZRGdjcEpUYXJKZkVzMHJnOXk1U05rOHhmSmRfQkQ4cWJJMW1Nc3JxWFJxYUZzUXNHX3BmaUpjR1h6TktoYTU5dHBEMndCVWh3VzlXYjAtZzJLN1EKCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBsa2U3NTc3MQogICAgbmFtZXNwYWNlOiBkZWZhdWx0CiAgICB1c2VyOiBsa2U3NTc3MS1hZG1pbgogIG5hbWU6IGxrZTc1NzcxLWN0eAoKY3VycmVudC1jb250ZXh0OiBsa2U3NTc3MS1jdHgK"}' + body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please + try again later."}]}' + headers: + Access-Control-Allow-Headers: + - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter + Access-Control-Allow-Methods: + - HEAD, GET, OPTIONS, POST, PUT, DELETE + Access-Control-Allow-Origin: + - '*' + Content-Length: + - "92" + Content-Type: + - application/json + Server: + - nginx + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - lke:read_write + X-Frame-Options: + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "800" + status: 503 Service Unavailable + code: 503 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json + Content-Type: + - application/json + User-Agent: + - linodego/dev https://github.com/linode/linodego + url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig + method: GET + response: + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTXZha05EUVdWaFowRjNTVUpCWjBsQ1FVUkJUa0puYTNGb2EybEhPWGN3UWtGUmMwWkJSRUZXVFZKTmQwVlJXVVJXVVZGRVJYZHdjbVJYU213S1kyMDFiR1JIVm5wTlFqUllSRlJKZVUxVVFYaE5la1V5VFZSUk1VMVdiMWhFVkUxNVRWUkJlRTFFUlRKTlZGRXhUVlp2ZDBaVVJWUk5Ra1ZIUVRGVlJRcEJlRTFMWVROV2FWcFlTblZhV0ZKc1kzcERRMEZUU1hkRVVWbEtTMjlhU1doMlkwNUJVVVZDUWxGQlJHZG5SVkJCUkVORFFWRnZRMmRuUlVKQlMzUkRDa0p4WW1oeVVFdENlbUZQY0dvdlJubFZPRGRRVnpWTE5VTnZWSFZzYkZaVVFUbERhVFJVVm1kWWVuTnhXbVE0T0dscFVGbEVlRWRUVEhobFZEaFpjRFlLTTB0aGNrMW5TVGxrTmpCUWExbGlVemxrWVZwVE5EVkVNVGhpY2pCUFJXdDJjVzluWTJ0QmVUWjJibGt2VVM5S2FXWlpWamwxZG5SeVdtNVVPRlZoU2dwTWRFdFZOV3B2VDFaUmFuQnBiV1ZIUVRKR2Jsa3JjMVJyTTFrM1VYaHhVWFJHUVZONGJFNVBLemg1Tm5WTWJIbGhVV2N5V0hWMk5scEdjMU40UW5RekNsSXdkMmRpZGtWaVVrNXJOV28zYzNoa1lUVmxUV1J0UjFoQ1EyRlBRMXBOVUhRd2JIUnBjbTlJYmtRNU9ESkRSVFpqTURKWE9UbHhLMlpGWWs1a1oxQUtkRFJ1VUVKTmFIVTBRa3cxYm1sd1VGRmxRVE5DZVVwUlkwRklZMjVQVmpGRE1sSnpMMDFITW5BMGJsWTNRMGxqWm1nelpISktTVVI2ZERGTlpuSmpWUXBYWkhSbFRWUTJTazVKTjA5WmVtcFlhV3ByUTBGM1JVRkJZVTVhVFVaamQwUm5XVVJXVWpCUVFWRklMMEpCVVVSQlowdHJUVUU0UjBFeFZXUkZkMFZDQ2k5M1VVWk5RVTFDUVdZNGQwaFJXVVJXVWpCUFFrSlpSVVpEWm1GM00ydDFRVXhxWW10S1EzUnpRVVF3Ulhock1qSm9hR2ROUWxWSFFURlZaRVZSVVU4S1RVRjVRME50ZERGWmJWWjVZbTFXTUZwWVRYZEVVVmxLUzI5YVNXaDJZMDVCVVVWTVFsRkJSR2RuUlVKQlJFMVROR1pEVVU1emVrNUhTMlEzU0hoVlR3cGtiemN4VkZONFMzYzVaM1JNS3pOSlF6bExWMXBCTlVoT2EzVlBXSE5MYnpkd1RHSTNhbkJCWWtwc1NFaFNkRTQxVkZoamJUSXlMemRrTWprNE5HRkZDbkpLTW10VWNraHlRbTEyYjB3MWEwY3pkMGMzYkRSTFltSnBSVFYwYWtZelNYZHVORkJYYlRsd1FYUlJNM1UwTjA5SlFWVjNaazF0Y0haRlYydFpXbG9LTmxvMloycGxkMDlNUW5CdmQyZEhja1pXUmpkSFRXbHlNRk53TkRKMWJpOUtPSEpFVUZvMVNtdHlZMEphUTNOT05GcHBiVFZ2ZVdOVk9XdHVNRkYyUmdwalJ6QjJkRFJSUzBKUVRtc3haM0p1UlZSWmVGcDZUMk0xY0VSa1RFbFdNbWhCYVRWUmJEQklia1pwU1N0aE1XczNhR3A2Umk5TlEzZE5aRzFFUm5rNENuQnJXa2htYTBwWFVVb3JSWEI1UkV0c2JXTlJWMVJRWVZkUGVFVjZXRlpJYzBobGNuTjRaMEowUkcxRVptSm5la0Z0TVhWM1QyTnVlbE5XTUV0RWNra0tWa2hOUFFvdExTMHRMVVZPUk***REMOVED***RFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgc2VydmVyOiBodHRwczovLzRjYmY4MmI2LTUwYTQtNGI4Ny1iMTkwLWZjOTQ0ZjRmNDFlMy5hcC13ZXN0LTIubGlub2RlbGtlLm5ldDo0NDMKICBuYW1lOiBsa2U3NjE2NwoKdXNlcnM6Ci0gbmFtZTogbGtlNzYxNjctYWRtaW4KICB1c2VyOgogICAgYXMtdXNlci1leHRyYToge30KICAgIHRva2VuOiBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpsSFpYcE5iMWhuZVY5SWRHWm5VM2hsYkRoTWFGRTNYelpEUVhCTGFqTnBVMmRLUTBrd09FUnZUVVVpZlEuZXlKcGMzTWlPaUpyZFdKbGNtNWxkR1Z6TDNObGNuWnBZMlZoWTJOdmRXNTBJaXdpYTNWaVpYSnVaWFJsY3k1cGJ5OXpaWEoyYVdObFlXTmpiM1Z1ZEM5dVlXMWxjM0JoWTJVaU9pSnJkV0psTFhONWMzUmxiU0lzSW10MVltVnlibVYwWlhNdWFXOHZjMlZ5ZG1salpXRmpZMjkxYm5RdmMyVmpjbVYwTG01aGJXVWlPaUpzYTJVdFlXUnRhVzR0ZEc5clpXNHRlbTR5Y21naUxDSnJkV0psY201bGRHVnpMbWx2TDNObGNuWnBZMlZoWTJOdmRXNTBMM05sY25acFkyVXRZV05qYjNWdWRDNXVZVzFsSWpvaWJHdGxMV0ZrYldsdUlpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl6WlhKMmFXTmxMV0ZqWTI5MWJuUXVkV2xrSWpvaU9XSXpNelk0TnpFdE9UZ3lOUzAwTUdRMUxXRmhOakl0TUdabVlqTmxZVEZsT0RBd0lpd2ljM1ZpSWpvaWMzbHpkR1Z0T25ObGNuWnBZMlZoWTJOdmRXNTBPbXQxWW1VdGMzbHpkR1Z0T214clpTMWhaRzFwYmlKOS5mOHhIb1BoQmp1b1lwcDg1dmRybXplVzVFNlhqX05TcTluMk5zZUZmYVJJOHF1cEg5bXQxM01zcDlhY25ZMXhNc3NOcHhUa245Q1hSQTN5dlloa1AtZ09GRU1MeWRkMEJ3R3RfdmtpV3cwUzA2bmh0aG1uUk5UbDEzLXhJT19nYVZUV3RFVUliUTZaeU11dVRTQmkzYVJQb3dxR3oyeDdfVFdDNEFTeHdiXzBaVTM0NkpQVEd6LXkyWDhjVmZzem1PbWtZd0V5cFczZ2E2R1Mtdkl4cVctWk1IUVpzT3pEUjhLZ1ItWUtPQnJScGVtN3FFYVZmTmo0dVRwUG8xLWRLNkFPaDhQR2dLQm5SWk5PSEdlZUQ1VmVHczQteS1PWm5NX1h2cFY2alVYRTlqWldyZHhuc2pQaDNUbjF2eFZHZ3pwZl92ZmpiZmNKREx4bUlRNTB4V1EKCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBsa2U3NjE2NwogICAgbmFtZXNwYWNlOiBkZWZhdWx0CiAgICB1c2VyOiBsa2U3NjE2Ny1hZG1pbgogIG5hbWU6IGxrZTc2MTY3LWN0eAoKY3VycmVudC1jb250ZXh0OiBsa2U3NjE2Ny1jdHgK"}' headers: Access-Control-Allow-Credentials: - "true" @@ -616,7 +657,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75771 + url: https://api.linode.com/v4beta/lke/clusters/76167 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml index 4d17448cd..15ff5b339 100644 --- a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml +++ b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75769, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76165, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-recycle", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' @@ -173,7 +173,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75769/recycle + url: https://api.linode.com/v4beta/lke/clusters/76165/recycle method: POST response: body: '{}' @@ -228,7 +228,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75769 + url: https://api.linode.com/v4beta/lke/clusters/76165 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_Update.yaml b/test/integration/fixtures/TestLKECluster_Update.yaml index 3e936c8e0..b61053636 100644 --- a/test/integration/fixtures/TestLKECluster_Update.yaml +++ b/test/integration/fixtures/TestLKECluster_Update.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75768, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76164, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,10 +172,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75768 + url: https://api.linode.com/v4beta/lke/clusters/76164 method: PUT response: - body: '{"id": 75768, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76164, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update-updated", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": true}, "tags": ["test=true"]}' @@ -230,7 +230,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75768 + url: https://api.linode.com/v4beta/lke/clusters/76164 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml index a0bcd59c3..a4aaca552 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75765, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76162, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-wait", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,7 +172,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -213,7 +213,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -254,7 +254,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -295,7 +295,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -336,7 +336,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -377,7 +377,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -418,7 +418,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -459,7 +459,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -500,7 +500,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -541,51 +541,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig method: GET response: - body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please - try again later."}]}' - headers: - Access-Control-Allow-Headers: - - Authorization, Origin, X-Requested-With, Content-Type, Accept, X-Filter - Access-Control-Allow-Methods: - - HEAD, GET, OPTIONS, POST, PUT, DELETE - Access-Control-Allow-Origin: - - '*' - Content-Length: - - "92" - Content-Type: - - application/json - Server: - - nginx - Vary: - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - lke:read_write - X-Frame-Options: - - DENY - X-Oauth-Scopes: - - '*' - X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable - code: 503 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json - Content-Type: - - application/json - User-Agent: - - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765/kubeconfig - method: GET - response: - body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTXZha05EUVdWaFowRjNTVUpCWjBsQ1FVUkJUa0puYTNGb2EybEhPWGN3UWtGUmMwWkJSRUZXVFZKTmQwVlJXVVJXVVZGRVJYZHdjbVJYU213S1kyMDFiR1JIVm5wTlFqUllSRlJKZVUxVVFYaE5SRVV5VFdwRmQwOUdiMWhFVkUxNVRWUkJkMDU2UlRKTmFrVjNUMFp2ZDBaVVJWUk5Ra1ZIUVRGVlJRcEJlRTFMWVROV2FWcFlTblZhV0ZKc1kzcERRMEZUU1hkRVVWbEtTMjlhU1doMlkwNUJVVVZDUWxGQlJHZG5SVkJCUkVORFFWRnZRMmRuUlVKQlRFeGtDbmxFVUhneVpsQXplRTk0TDNJeE1GbEdaMjlLYVdOWmMwcHJabUZJVFVNMlMyOUhWR3MzZVZVMFpGWXlTWEZxUWk5bVpYUm1URGxNTDJOcFNrdG5lWFVLWnpoRVdYcEJVVFJRWjFNM2FWWnFhMk5PUjJwUFYzSjZNMnBIUWtGdFYyNVhha1JWVkZaUlpXaGhXbk5CZFRaQ1JESXZNemNyYVdNNVIyTjZUM2hvTXdwTVMyOUdURTB5ZG5Gb1NqTnZlR1JDZW5wTk1GQXZTMk5WWTBwYWJDODRkVEl2TmsxRlpUaFNVVTlRUz***REMOVED***YVpFNWFVMUZLZUVOR01rc3lhbUo2YlVSSkNsZzBZamcyWlM5amJuZGtjMWhRYVRFMVJVaGFlWE5DUzJkdlFsSlZXbE4yTm1ObVZqTnJVQzlTYTNwQlRFdDNLM2RTVW5oTVUxSm1Ta1JQWXpWU1FYa0tha3QyVDBFMFpVdFNNa2xZTkdoS1YyYzBVRTlNV2xSelVYbHRTM2R5U2pCb1ZHNHpkRkJXWWxoNVUzSlBPREFyV2tsQ2NXTjZRVWRHTVZjMVJuUTVUUXBwYTNwbWR6ZEtMek53YzNWMk9UVmhOWGhGUTBGM1JVRkJZVTVhVFVaamQwUm5XVVJXVWpCUVFWRklMMEpCVVVSQlowdHJUVUU0UjBFeFZXUkZkMFZDQ2k5M1VVWk5RVTFDUVdZNGQwaFJXVVJXVWpCUFFrSlpSVVpRY1dWTmFrcFNaRXg0VDFrMmF6TkxkVU14Y25aT2NtbDFLMDlOUWxWSFFURlZaRVZSVVU4S1RVRjVRME50ZERGWmJWWjVZbTFXTUZwWVRYZEVVVmxLUzI5YVNXaDJZMDVCVVVWTVFsRkJSR2RuUlVKQlFuZG9kbms1YnpsbE5rTnZZU3R6VlZJMlF3cE1jMGxTZVRSeFltUjNNbGhEYTJsSmNXaFBhMXBUV1ZaV2NWazJNVmRLS3pJeFdGWldaVXR5VW5KV1dqRm9iblV3WmtGM1pUSnJUVWgwZWpNNVRHVXdDbE41TlhZMU9EZFViRFV6TWxsU2NrSkROVkoyVWtNMGRVTmlVMDAxUVhKUlNIbHVNelUxV0c5RFUwWkhSaXRqYVc0ME5uSjNReXRWUTIxQlRYbFZWMVlLVDA1SFZFNVJjVzVoY1VoQ1FVRTBXbGhRZVhwSWFYZ3hOVXg2YXpKb1NWWlpiekJpVG0xTFdXdFFVa3BtU1ZRd1UzTjBPV3h6VDJKRWIxUTNSVGQ0VVFwUWVHaG1UVGg0VFhGT1duRldNVVozYjBZMU5URm5jVzFoYkVZMWVISXpaazg1Um1GSlltOXVNekpITjNOTlRGUlBUVzgyV0dNemJXdDBha1ZEUXl0c0Nrc3ZURWxFTURjemVEaFFTMHBsTT***REMOVED***c2JsVkJPREI2Ym5CYVZuRnZlRTVwV0VkVWEyUTVibEJoTjJSa09EZEJOazFRVkdSSlFscG5hWE5ITVdkSVRrMEtNMDFWUFFvdExTMHRMVVZPUk***REMOVED***RFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgc2VydmVyOiBodHRwczovLzRjYmI5MDRjLTQyZjgtNGJjOC05ZGNjLTdlNWIyNWVmMTJiMC5hcC13ZXN0LTEubGlub2RlbGtlLm5ldDo0NDMKICBuYW1lOiBsa2U3NTc2NQoKdXNlcnM6Ci0gbmFtZTogbGtlNzU3NjUtYWRtaW4KICB1c2VyOgogICAgYXMtdXNlci1leHRyYToge30KICAgIHRva2VuOiBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWt4TVMxazVhVjk1WW1kRGNtdDRSbGxXZWtkaVFsUnRNMDF3VkZWNU9IZHlUekpqTVVwYVpWRmpabThpZlEuZXlKcGMzTWlPaUpyZFdKbGNtNWxkR1Z6TDNObGNuWnBZMlZoWTJOdmRXNTBJaXdpYTNWaVpYSnVaWFJsY3k1cGJ5OXpaWEoyYVdObFlXTmpiM1Z1ZEM5dVlXMWxjM0JoWTJVaU9pSnJkV0psTFhONWMzUmxiU0lzSW10MVltVnlibVYwWlhNdWFXOHZjMlZ5ZG1salpXRmpZMjkxYm5RdmMyVmpjbVYwTG01aGJXVWlPaUpzYTJVdFlXUnRhVzR0ZEc5clpXNHRiVGgyWW5FaUxDSnJkV0psY201bGRHVnpMbWx2TDNObGNuWnBZMlZoWTJOdmRXNTBMM05sY25acFkyVXRZV05qYjNWdWRDNXVZVzFsSWpvaWJHdGxMV0ZrYldsdUlpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl6WlhKMmFXTmxMV0ZqWTI5MWJuUXVkV2xrSWpvaU9HTTFOV0U1TWpJdFpHWmlaaTAwTnpnM0xXRTBZakl0Wm1NMFl6RTVOR1ExTjJGaElpd2ljM1ZpSWpvaWMzbHpkR1Z0T25ObGNuWnBZMlZoWTJOdmRXNTBPbXQxWW1VdGMzbHpkR1Z0T214clpTMWhaRzFwYmlKOS5MZVM0ZzNfMUJTQnZReWlRR0xKelVNMHBZcVBiQkExNkVQb0hIVkVNMW96aGFjamVXdWlNRTRfX2RUV2U1UjFQZ2xwbTdsVHlUQUtWNWphdHdpMUZOUmNmQnpGZWR3LUJsUklCa2UtbmxTaWNfYmZ6UkwyVnQyZmpicDA0VEJpdzNnRTJjLUV6bzhCb0JYQVVZV0g5SUdmSWFOZm1SLWdhc2ZEbEc0WnNtNEwzbElWWDhXYVFkSnVlVE5vbEgtc2NEdmtmZHY2anZOS01RN09tWS0yTkZ3cjNDQVA2MjRfZkNhSkQ3LW15TW5PYjZ4VTZGeW1fMkMxYUlma183bHVralVpaVg0SnJ0elQ2c2x4QXUzbkVoQWFySUJ1QU9DbmVNSlNJR0h5d0duOC12bDZ0N0JRQ3c3Z1llSmxIcV9DYWdMUURXN2xqcTh2dHpicllZMVlMamcKCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBsa2U3NTc2NQogICAgbmFtZXNwYWNlOiBkZWZhdWx0CiAgICB1c2VyOiBsa2U3NTc2NS1hZG1pbgogIG5hbWU6IGxrZTc1NzY1LWN0eAoKY3VycmVudC1jb250ZXh0OiBsa2U3NTc2NS1jdHgK"}' + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTXZha05EUVdWaFowRjNTVUpCWjBsQ1FVUkJUa0puYTNGb2EybEhPWGN3UWtGUmMwWkJSRUZXVFZKTmQwVlJXVVJXVVZGRVJYZHdjbVJYU213S1kyMDFiR1JIVm5wTlFqUllSRlJKZVUxVVFYaE5la1V5VFVSbmVrMUdiMWhFVkUxNVRWUkJlRTFFUlRKTlJHZDZUVVp2ZDBaVVJWUk5Ra1ZIUVRGVlJRcEJlRTFMWVROV2FWcFlTblZhV0ZKc1kzcERRMEZUU1hkRVVWbEtTMjlhU1doMlkwNUJVVVZDUWxGQlJHZG5SVkJCUkVORFFWRnZRMmRuUlVKQlRuVm1Da1JXZVRaQmNsUTFXbnA0VDB4UFRtbENVVEZRUVRZMlRqaEVVbGRyU2t0cVUwZEVhRUZ1VkVoc2VXWm5RMmd6TW1SbGRrOWhjMjVUVldKc1QxZzNlVThLVTFWTFYzQjBVRVl4VUZsNmEwUnZWakZwT1U1YU5FMTFNRW8yV1RsbFYyRTBkMjF4VDJSdlF6aFVaMlV5YlVKVVVHSmhZM0ZyUWxoV2RuQk5SaTlMWXdvM1dXMUpOMUZwWjNaaWFtSmFkWFI1UVdjNU5WZzVZazlaT0VWVGVXOXlUMGxzVUdkemVsTkJUbHBrYzNKU1dITjNiVGQ1UjFKR1pHcGllVmRyZG1wQkNqRkhURzF6VldkeWVERjJTM1ZsWkRaSlNrUlVia1ZUUVhkWE5IbFJXa1JCZGxwb1oxYzBZU3RaTkRoUldtMURjblZYT1doQ1RIcEdhV0pIYVZWWWExY0tTWFo0YmpKSGVIZzNSRWx2Y0dkck5HOWpTMFJMYUVad2FEbFRSRlZ5YzBoNFJVWTRSR1pwWVdwYVZEbE1ORUo1WjJ4VlpGWjRjVklyVjJWdFVFSk1kUXBPVFVWSllVRkRWazlRTUVwaGRVTXhaQzlqUTBGM1JVRkJZVTVhVFVaamQwUm5XVVJXVWpCUVFWRklMMEpCVVVSQlowdHJUVUU0UjBFeFZXUkZkMFZDQ2k5M1VVWk5RVTFDUVdZNGQwaFJXVVJXVWpCUFFrSlpSVVpOVVVFeVdsRXJSRVJwYTNkWWIwZDNiVkpqTkN0b1R6UllSM0pOUWxWSFFURlZaRVZSVVU4S1RVRjVRME50ZERGWmJWWjVZbTFXTUZwWVRYZEVVVmxLUzI5YVNXaDJZMDVCVVVWTVFsRkJSR2RuUlVKQlRHZHpaekpzU25ac2VqTnlZalUyT0ZsRUt3cFBkVlpKU0ZkV1IxTmhjemhRY1RWbWVVOHpSMGRIWWtreVpFTk1NQ3RQUVV4eGFWbExRWHBhYlZWeFRVVk9Talp2VVdselVYVkhWWG9yTjFKYVlsQnpDbE5IUW14T01ERnJVMGRzUXk5TmNVbENXR2hyY25WdWJsVkpXVGxWVmtKTVREaEtVRWhEUlhkd2J6RkVURGhqVjFSSU4xVlRVQzlqWjI5bGRIaFZjVm9LYjNGSVRUTlljRmhxY3prNWVVZFhTRzlEYjI1cVVrTmhiMFkzV1M4MlFVRnhkbWRXUkZwM2JUWlRSM1EyYm1odmNFcEVPVkJEVUZkMVppOTRkbU12UWdwRmJXTlVXVkpyU3pSTFJuVmFiVlZZZUZGbGVIUXljMGg2VmtWTGNIRnlWM05hVTNaeVkwZDRkbU4zVTA0MWF6WnNjRUZ3VjNSUFJ6a3dZMWxIY2s1eENtUm5URzExV1ZFMWNtOXVjbTl6VlVGaGRDOVpOR2QwVW5KQ01sUkhUMW81Y0VoNU9XNURNamxIVjJKclkwNWtLMmwwVkRKM2NWaGtaMEpTZWtOWmNuQUtjRW93UFFvdExTMHRMVVZPUk***REMOVED***RFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgc2VydmVyOiBodHRwczovLzE0NmQwZTI3LWNjM2YtNGMwOS1hNTBjLWExYjEzOGZhMDQzYi5hcC13ZXN0LTIubGlub2RlbGtlLm5ldDo0NDMKICBuYW1lOiBsa2U3NjE2MgoKdXNlcnM6Ci0gbmFtZTogbGtlNzYxNjItYWRtaW4KICB1c2VyOgogICAgYXMtdXNlci1leHRyYToge30KICAgIHRva2VuOiBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpBM1ZWWXdYMVpUUVRFeVZtdE5OQzFZVW1aa0xWUnRMVlI1WlRWNlZqTXdTV1pqTTBJMGFVMTROVVVpZlEuZXlKcGMzTWlPaUpyZFdKbGNtNWxkR1Z6TDNObGNuWnBZMlZoWTJOdmRXNTBJaXdpYTNWaVpYSnVaWFJsY3k1cGJ5OXpaWEoyYVdObFlXTmpiM1Z1ZEM5dVlXMWxjM0JoWTJVaU9pSnJkV0psTFhONWMzUmxiU0lzSW10MVltVnlibVYwWlhNdWFXOHZjMlZ5ZG1salpXRmpZMjkxYm5RdmMyVmpjbVYwTG01aGJXVWlPaUpzYTJVdFlXUnRhVzR0ZEc5clpXNHRPVGxvYlRraUxDSnJkV0psY201bGRHVnpMbWx2TDNObGNuWnBZMlZoWTJOdmRXNTBMM05sY25acFkyVXRZV05qYjNWdWRDNXVZVzFsSWpvaWJHdGxMV0ZrYldsdUlpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl6WlhKMmFXTmxMV0ZqWTI5MWJuUXVkV2xrSWpvaU5EVmhNak5oTkRndFpHVTFPQzAwWVdFMkxUbGpZVE10TXpabU9URXlOakV5WldFeElpd2ljM1ZpSWpvaWMzbHpkR1Z0T25ObGNuWnBZMlZoWTJOdmRXNTBPbXQxWW1VdGMzbHpkR1Z0T214clpTMWhaRzFwYmlKOS5DcDcxZlRCTlRVTUJOY2RINFk0RmtaZ2RRUV83dWktNlp2T2hYSU5KeWota3Jmb3VMZVNUdnl6d1ZTdDNTQlB3NmJYMmVrRVlWamRwb251TUREMnFyNmM4eTR6VWpkclpzdzR2TGd0WWJob1djN1V2YURlLWpMUjRhZ1p3RWlFem90ZDRNVVZEb1hfWEpVb2pTUV8yRWM4MTdlbktJSHVQMjFGdzloblpsNWUtY01HSUlBVTVqMzAxZ1B6cjFFVXJaSXVCTjJZRU1oNFVRcmlObVVtYTRRaFFzTDVlT1RlZG82SVBNa3o1MGdxc201STVZdFhReU1JTFQ4bjlpR3FWeFlZM0hqbENVRWVjSFdTNHVaVUhZc1B2OE1fVXdOSlBWdC1qcGVLYXdTNmMtMFBaX2w0Wm5ITHJibXBaTzktejQ5QzJmSW1vX0JFTmpEQ2N2T2FkT0EKCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBsa2U3NjE2MgogICAgbmFtZXNwYWNlOiBkZWZhdWx0CiAgICB1c2VyOiBsa2U3NjE2Mi1hZG1pbgogIG5hbWU6IGxrZTc2MTYyLWN0eAoKY3VycmVudC1jb250ZXh0OiBsa2U3NjE2Mi1jdHgK"}' headers: Access-Control-Allow-Credentials: - "true" @@ -637,7 +596,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75765 + url: https://api.linode.com/v4beta/lke/clusters/76162 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml index a6d448f09..d44c8c708 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml @@ -7,14 +7,14 @@ interactions: headers: Accept: - application/json, */* - url: https://4cbb904c-42f8-4bc8-9dcc-7e5b25ef12b0.ap-west-1.linodelke.net:443/api/v1/nodes + url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"537"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"530"},"items":[]} headers: Audit-Id: - - 63372316-add9-44aa-879b-e462e51bdcc6 + - 9fe3b0b9-6be8-4bc5-8fb5-a5de89ad0ad2 Cache-Control: - no-cache, private Content-Length: @@ -22,9 +22,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - db5a73dd-ad61-4eaf-b8f4-462f026f9672 + - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - - 370a5415-201e-47c2-9058-e588cc01fd42 + - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" @@ -34,24 +34,24 @@ interactions: headers: Accept: - application/json, */* - url: https://4cbb904c-42f8-4bc8-9dcc-7e5b25ef12b0.ap-west-1.linodelke.net:443/api/v1/nodes + url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"563"},"items":[{"metadata":{"name":"lke75765-117751-6344465a30ed","uid":"98fcfd86-c99d-4fe5-85b0-0a02740b22c4","resourceVersion":"562","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/os":"linux","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke75765-117751-6344465a30ed","kubernetes.io/os":"linux"},"annotations":{"node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}},"f:spec":{"f:taints":{}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"Ready\"}":{"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"taints":[{"key":"node.cloudprovider.kubernetes.io/uninitialized","value":"true","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"InternalIP","address":"139.144.0.164"},{"type":"Hostname","address":"lke75765-117751-6344465a30ed"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"eb9dba26b3d74385846f5fec4270b443","systemUUID":"eb9dba26b3d74385846f5fec4270b443","bootID":"4245dd8c-8854-4e21-9474-857a4c6a0f8a","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"537"},"items":[]} headers: Audit-Id: - - a08d2da1-cbc5-4bd0-8030-5a69a61b7f58 + - bd644c7a-ec95-4b9e-a395-a36236651512 Cache-Control: - no-cache, private Content-Length: - - "3610" + - "86" Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - db5a73dd-ad61-4eaf-b8f4-462f026f9672 + - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - - 370a5415-201e-47c2-9058-e588cc01fd42 + - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" @@ -61,22 +61,24 @@ interactions: headers: Accept: - application/json, */* - url: https://4cbb904c-42f8-4bc8-9dcc-7e5b25ef12b0.ap-west-1.linodelke.net:443/api/v1/nodes + url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"666"},"items":[{"metadata":{"name":"lke75765-117751-6344465a30ed","uid":"98fcfd86-c99d-4fe5-85b0-0a02740b22c4","resourceVersion":"629","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke75765-117751-6344465a30ed","kubernetes.io/os":"linux","lke.linode.com/pool-id":"117751","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"oAfPfQjcxbloGBM3Bc5rA0lVgq1dODsGIH2W0ifqi3M=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"Ready\"}":{"f:message":{}}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39423229","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke75765-117751-6344465a30ed"},{"type":"ExternalIP","address":"139.144.0.164"},{"type":"InternalIP","address":"192.168.143.28"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"eb9dba26b3d74385846f5fec4270b443","systemUUID":"eb9dba26b3d74385846f5fec4270b443","bootID":"4245dd8c-8854-4e21-9474-857a4c6a0f8a","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"602"},"items":[{"metadata":{"name":"lke76162-118349-634837eff28c","uid":"887829d5-ff94-4545-b16e-4860be6648b3","resourceVersion":"598","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837eff28c","kubernetes.io/os":"linux","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"Ready\"}":{"f:message":{}}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39523013","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837eff28c"},{"type":"ExternalIP","address":"172.105.62.27"},{"type":"InternalIP","address":"192.168.141.86"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"53a924549f02403785267878854d7b25","systemUUID":"53a924549f02403785267878854d7b25","bootID":"0fb3be06-012f-4937-bb32-588a29856d58","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - - c37112d6-1e5e-4399-a034-c2ac0e6841d8 + - c2e927b3-b829-4d55-bb47-1d1c74de2e5e Cache-Control: - no-cache, private + Content-Length: + - "4086" Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - db5a73dd-ad61-4eaf-b8f4-462f026f9672 + - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - - 370a5415-201e-47c2-9058-e588cc01fd42 + - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" @@ -86,22 +88,22 @@ interactions: headers: Accept: - application/json, */* - url: https://4cbb904c-42f8-4bc8-9dcc-7e5b25ef12b0.ap-west-1.linodelke.net:443/api/v1/nodes + url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"807"},"items":[{"metadata":{"name":"lke75765-117751-63444659648d","uid":"0542d1d7-fa07-451e-8e39-ad60d7757a7f","resourceVersion":"800","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke75765-117751-63444659648d","kubernetes.io/os":"linux","lke.linode.com/pool-id":"117751","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.2.1","lke.linode.com/wgpub":"n+ogo9uflxofA2mO/WDY4MqC7WJJUxKhvqY/ZbnK5js=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.2.0/24\"":{}}}}},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.2.0/24","podCIDRs":["10.2.2.0/24"],"providerID":"linode://39423227","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke75765-117751-63444659648d"},{"type":"ExternalIP","address":"139.144.0.163"},{"type":"InternalIP","address":"192.168.141.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"080db359d4c94df4a8ff8f56fca4c365","systemUUID":"080db359d4c94df4a8ff8f56fca4c365","bootID":"9f151fb3-28db-4965-bfd5-12722eab4ad0","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke75765-117751-6344465a30ed","uid":"98fcfd86-c99d-4fe5-85b0-0a02740b22c4","resourceVersion":"786","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke75765-117751-6344465a30ed","kubernetes.io/os":"linux","lke.linode.com/pool-id":"117751","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"oAfPfQjcxbloGBM3Bc5rA0lVgq1dODsGIH2W0ifqi3M=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"Ready\"}":{"f:message":{}}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39423229","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke75765-117751-6344465a30ed"},{"type":"ExternalIP","address":"139.144.0.164"},{"type":"InternalIP","address":"192.168.143.28"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"eb9dba26b3d74385846f5fec4270b443","systemUUID":"eb9dba26b3d74385846f5fec4270b443","bootID":"4245dd8c-8854-4e21-9474-857a4c6a0f8a","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke75765-117751-6344465aff78","uid":"fcb97369-6a31-4db3-aa22-df7bdc25f079","resourceVersion":"746","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke75765-117751-6344465aff78","kubernetes.io/os":"linux","lke.linode.com/pool-id":"117751","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.1.1","lke.linode.com/wgpub":"AkSt0oxA/ncGjIQig+f19/s/IRvSo92v2DZtmhVkl2U=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.1.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.1.0/24","podCIDRs":["10.2.1.0/24"],"providerID":"linode://39423230","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke75765-117751-6344465aff78"},{"type":"ExternalIP","address":"139.144.0.165"},{"type":"InternalIP","address":"192.168.137.211"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f2ef3d1a96db44bf859aac93c98c5152","systemUUID":"f2ef3d1a96db44bf859aac93c98c5152","bootID":"520ba018-a16f-4080-a25f-a7e212afb9e0","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"775"},"items":[{"metadata":{"name":"lke76162-118349-634837ef23d0","uid":"20218a65-f9a4-44bc-bc05-0aae618c89cd","resourceVersion":"715","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837ef23d0","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.1.1","lke.linode.com/wgpub":"wjTMSXXXIVbzlfmnMdhF1lbgaHZ8eiYpcxICdT3pdBk=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.1.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.1.0/24","podCIDRs":["10.2.1.0/24"],"providerID":"linode://39523012","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028104Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925704Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837ef23d0"},{"type":"ExternalIP","address":"172.105.62.26"},{"type":"InternalIP","address":"192.168.142.88"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"b4affd53550b4f58b071cfdcc43e6a93","systemUUID":"b4affd53550b4f58b071cfdcc43e6a93","bootID":"f8b50fb1-3649-4dbc-8424-70e68d756f29","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke76162-118349-634837eff28c","uid":"887829d5-ff94-4545-b16e-4860be6648b3","resourceVersion":"770","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837eff28c","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"Lc1h/w/fV6FbHBVHmEHM9EZyK+F0ojXS27IbdYvRMic=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"Ready\"}":{"f:message":{}}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39523013","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837eff28c"},{"type":"ExternalIP","address":"172.105.62.27"},{"type":"InternalIP","address":"192.168.141.86"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"53a924549f02403785267878854d7b25","systemUUID":"53a924549f02403785267878854d7b25","bootID":"0fb3be06-012f-4937-bb32-588a29856d58","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke76162-118349-634837f0bf12","uid":"e7294b6e-3907-4d37-b24e-883770914ab0","resourceVersion":"772","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837f0bf12","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.2.1","lke.linode.com/wgpub":"1/okeF6mP/ZRYdFD28nLjRlyWbKMJ1aiAnaWq1g4MQU=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.2.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}}]},"spec":{"podCIDR":"10.2.2.0/24","podCIDRs":["10.2.2.0/24"],"providerID":"linode://39523014","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028104Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925704Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"[container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837f0bf12"},{"type":"ExternalIP","address":"172.105.62.55"},{"type":"InternalIP","address":"192.168.141.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"54669e805a6949a28451b3cbf64d033f","systemUUID":"54669e805a6949a28451b3cbf64d033f","bootID":"990f4bfa-ddc7-4a61-9b1d-b238a56a6a17","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - - a0dcde7b-b546-4c9a-b82d-346c25c2087f + - d4320a17-b045-4c19-8e9b-4c2706a7aad1 Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - db5a73dd-ad61-4eaf-b8f4-462f026f9672 + - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - - 370a5415-201e-47c2-9058-e588cc01fd42 + - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" @@ -111,22 +113,22 @@ interactions: headers: Accept: - application/json, */* - url: https://4cbb904c-42f8-4bc8-9dcc-7e5b25ef12b0.ap-west-1.linodelke.net:443/api/v1/nodes + url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"892"},"items":[{"metadata":{"name":"lke75765-117751-63444659648d","uid":"0542d1d7-fa07-451e-8e39-ad60d7757a7f","resourceVersion":"856","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke75765-117751-63444659648d","kubernetes.io/os":"linux","lke.linode.com/pool-id":"117751","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.2.1","lke.linode.com/wgpub":"n+ogo9uflxofA2mO/WDY4MqC7WJJUxKhvqY/ZbnK5js=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.2.0/24\"":{}}}}},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.2.0/24","podCIDRs":["10.2.2.0/24"],"providerID":"linode://39423227","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke75765-117751-63444659648d"},{"type":"ExternalIP","address":"139.144.0.163"},{"type":"InternalIP","address":"192.168.141.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"080db359d4c94df4a8ff8f56fca4c365","systemUUID":"080db359d4c94df4a8ff8f56fca4c365","bootID":"9f151fb3-28db-4965-bfd5-12722eab4ad0","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke75765-117751-6344465a30ed","uid":"98fcfd86-c99d-4fe5-85b0-0a02740b22c4","resourceVersion":"843","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke75765-117751-6344465a30ed","kubernetes.io/os":"linux","lke.linode.com/pool-id":"117751","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"oAfPfQjcxbloGBM3Bc5rA0lVgq1dODsGIH2W0ifqi3M=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39423229"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletReady","message":"kubelet is posting ready status. AppArmor enabled"}],"addresses":[{"type":"Hostname","address":"lke75765-117751-6344465a30ed"},{"type":"ExternalIP","address":"139.144.0.164"},{"type":"InternalIP","address":"192.168.143.28"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"eb9dba26b3d74385846f5fec4270b443","systemUUID":"eb9dba26b3d74385846f5fec4270b443","bootID":"4245dd8c-8854-4e21-9474-857a4c6a0f8a","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["calico/cni@sha256:2219eae79544b098119a06a8bb5608867f9ac00471592a00e2347f3ae4bea687","calico/cni:v3.22.1"],"sizeBytes":235518704},{"names":["bitnami/kubectl@sha256:c4a8d9c0cd9c5f903830ea64816c83adf307ff1d775bc3e5b77f1d49d3960205","bitnami/kubectl:1.16.3-debian-10-r36"],"sizeBytes":182705735},{"names":["linode/pause@sha256:4a1c4b21597c1b4415bdbecb28a3296c6b5e23ca4f9feeb599860a1dac6a0108","linode/pause:3.2"],"sizeBytes":682696}]}},{"metadata":{"name":"lke75765-117751-6344465aff78","uid":"fcb97369-6a31-4db3-aa22-df7bdc25f079","resourceVersion":"886","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke75765-117751-6344465aff78","kubernetes.io/os":"linux","lke.linode.com/pool-id":"117751","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.1.1","lke.linode.com/wgpub":"AkSt0oxA/ncGjIQig+f19/s/IRvSo92v2DZtmhVkl2U=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.1.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.1.0/24","podCIDRs":["10.2.1.0/24"],"providerID":"linode://39423230","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke75765-117751-6344465aff78"},{"type":"ExternalIP","address":"139.144.0.165"},{"type":"InternalIP","address":"192.168.137.211"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f2ef3d1a96db44bf859aac93c98c5152","systemUUID":"f2ef3d1a96db44bf859aac93c98c5152","bootID":"520ba018-a16f-4080-a25f-a7e212afb9e0","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"846"},"items":[{"metadata":{"name":"lke76162-118349-634837ef23d0","uid":"20218a65-f9a4-44bc-bc05-0aae618c89cd","resourceVersion":"798","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837ef23d0","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.1.1","lke.linode.com/wgpub":"wjTMSXXXIVbzlfmnMdhF1lbgaHZ8eiYpcxICdT3pdBk=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.1.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.1.0/24","podCIDRs":["10.2.1.0/24"],"providerID":"linode://39523012","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028104Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925704Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837ef23d0"},{"type":"ExternalIP","address":"172.105.62.26"},{"type":"InternalIP","address":"192.168.142.88"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"b4affd53550b4f58b071cfdcc43e6a93","systemUUID":"b4affd53550b4f58b071cfdcc43e6a93","bootID":"f8b50fb1-3649-4dbc-8424-70e68d756f29","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke76162-118349-634837eff28c","uid":"887829d5-ff94-4545-b16e-4860be6648b3","resourceVersion":"845","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837eff28c","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"Lc1h/w/fV6FbHBVHmEHM9EZyK+F0ojXS27IbdYvRMic=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.0.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:lastTransitionTime":{},"f:message":{},"f:reason":{},"f:status":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/24","podCIDRs":["10.2.0.0/24"],"providerID":"linode://39523013","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028096Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925696Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"True","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletReady","message":"kubelet is posting ready status. AppArmor enabled"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837eff28c"},{"type":"ExternalIP","address":"172.105.62.27"},{"type":"InternalIP","address":"192.168.141.86"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"53a924549f02403785267878854d7b25","systemUUID":"53a924549f02403785267878854d7b25","bootID":"0fb3be06-012f-4937-bb32-588a29856d58","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["bitnami/kubectl@sha256:c4a8d9c0cd9c5f903830ea64816c83adf307ff1d775bc3e5b77f1d49d3960205","bitnami/kubectl:1.16.3-debian-10-r36"],"sizeBytes":182705735},{"names":["linode/kube-proxy-amd64@sha256:956fae45da675f68310f51b43654eee078a861d3d2ff2544a3e218ac4aaed8e9","linode/kube-proxy-amd64:v1.23.10"],"sizeBytes":112319634},{"names":["linode/pause@sha256:4a1c4b21597c1b4415bdbecb28a3296c6b5e23ca4f9feeb599860a1dac6a0108","linode/pause:3.2"],"sizeBytes":682696}]}},{"metadata":{"name":"lke76162-118349-634837f0bf12","uid":"e7294b6e-3907-4d37-b24e-883770914ab0","resourceVersion":"837","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-2","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"ap-west","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke76162-118349-634837f0bf12","kubernetes.io/os":"linux","lke.linode.com/pool-id":"118349","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"ap-west"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"/var/run/dockershim.sock","lke.linode.com/wgip":"172.31.2.1","lke.linode.com/wgpub":"1/okeF6mP/ZRYdFD28nLjRlyWbKMJ1aiAnaWq1g4MQU=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"manager":"kube-controller-manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:node.alpha.kubernetes.io/ttl":{}}},"f:spec":{"f:podCIDR":{},"f:podCIDRs":{".":{},"v:\"10.2.2.0/24\"":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:volumes.kubernetes.io/controller-managed-attach-detach":{}},"f:labels":{".":{},"f:beta.kubernetes.io/arch":{},"f:beta.kubernetes.io/os":{},"f:kubernetes.io/arch":{},"f:kubernetes.io/hostname":{},"f:kubernetes.io/os":{}}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:beta.kubernetes.io/instance-type":{},"f:failure-domain.beta.kubernetes.io/region":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux-amd64","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:addresses":{"k:{\"type\":\"ExternalIP\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{"f:address":{}}}}},"subresource":"status"},{"manager":"kubeadm","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:kubeadm.alpha.kubernetes.io/cri-socket":{}}}}},{"manager":"kubectl-annotate","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{"f:lke.linode.com/wgip":{},"f:lke.linode.com/wgpub":{}}}}},{"manager":"kubectl-label","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{"f:lke.linode.com/pool-id":{}}}}},{"manager":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.2.0/24","podCIDRs":["10.2.2.0/24"],"providerID":"linode://39523014","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82517840Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4028104Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76048441219","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3925704Ki","pods":"110"},"conditions":[{"type":"MemoryPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientMemory","message":"kubelet has sufficient memory available"},{"type":"DiskPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasNoDiskPressure","message":"kubelet has no disk pressure"},{"type":"PIDPressure","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletHasSufficientPID","message":"kubelet has sufficient PID available"},{"type":"Ready","status":"False","lastHeartbeatTime":"2018-01-02T03:04:05Z","lastTransitionTime":"2018-01-02T03:04:05Z","reason":"KubeletNotReady","message":"container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized"}],"addresses":[{"type":"Hostname","address":"lke76162-118349-634837f0bf12"},{"type":"ExternalIP","address":"172.105.62.55"},{"type":"InternalIP","address":"192.168.141.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"54669e805a6949a28451b3cbf64d033f","systemUUID":"54669e805a6949a28451b3cbf64d033f","bootID":"990f4bfa-ddc7-4a61-9b1d-b238a56a6a17","kernelVersion":"5.10.0-14-cloud-amd64","osImage":"Debian GNU/Linux 11 (bullseye)","containerRuntimeVersion":"docker://20.10.15","kubeletVersion":"v1.23.6","kubeProxyVersion":"v1.23.6","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - - 16406a20-ea0d-47db-83bb-c4b61bbfc407 + - 427f611f-4216-4a80-b6d9-53d892a8d6df Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - db5a73dd-ad61-4eaf-b8f4-462f026f9672 + - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 X-Kubernetes-Pf-Prioritylevel-Uid: - - 370a5415-201e-47c2-9058-e588cc01fd42 + - 3833eb11-2ae9-4b3a-991a-57858f5ff927 status: 200 OK code: 200 duration: "" diff --git a/test/integration/fixtures/TestLKEClusters_List.yaml b/test/integration/fixtures/TestLKEClusters_List.yaml index 3bf93a864..10efced1e 100644 --- a/test/integration/fixtures/TestLKEClusters_List.yaml +++ b/test/integration/fixtures/TestLKEClusters_List.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75773, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76169, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -175,7 +175,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: GET response: - body: '{"data": [{"id": 75773, "status": "ready", "created": "2018-01-02T03:04:05", + body: '{"data": [{"id": 76169, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 1}' @@ -232,7 +232,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75773 + url: https://api.linode.com/v4beta/lke/clusters/76169 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml b/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml index 300e9cc3b..b4d380565 100644 --- a/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml +++ b/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75776, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76172, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,13 +172,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75776/pools + url: https://api.linode.com/v4beta/lke/clusters/76172/pools method: POST response: - body: '{"id": 117766, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "117766-634448e7c252", - "instance_id": null, "status": "not_ready"}, {"id": "117766-634448e89188", "instance_id": - null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' + body: '{"id": 118362, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118362-63483a962f5f", + "instance_id": 39523226, "status": "not_ready"}, {"id": "118362-63483a970178", + "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": + "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -193,7 +193,7 @@ interactions: Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - - "330" + - "334" Content-Security-Policy: - default-src 'none' Content-Type: @@ -230,7 +230,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75776/nodes/117766-634448e7c252 + url: https://api.linode.com/v4beta/lke/clusters/76172/nodes/118362-63483a962f5f method: DELETE response: body: '{}' @@ -285,11 +285,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75776/pools/117766 + url: https://api.linode.com/v4beta/lke/clusters/76172/pools/118362 method: GET response: - body: '{"id": 117766, "type": "g6-standard-2", "count": 1, "nodes": [{"id": "117766-634448e89188", - "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": + body: '{"id": 118362, "type": "g6-standard-2", "count": 1, "nodes": [{"id": "118362-63483a970178", + "instance_id": 39523228, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: @@ -306,7 +306,7 @@ interactions: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - - "255" + - "259" Content-Security-Policy: - default-src 'none' Content-Type: @@ -344,7 +344,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75776/pools/117766 + url: https://api.linode.com/v4beta/lke/clusters/76172/pools/118362 method: DELETE response: body: '{}' @@ -399,7 +399,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75776 + url: https://api.linode.com/v4beta/lke/clusters/76172 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKENodePool_GetFound.yaml b/test/integration/fixtures/TestLKENodePool_GetFound.yaml index cedde085b..bec222748 100644 --- a/test/integration/fixtures/TestLKENodePool_GetFound.yaml +++ b/test/integration/fixtures/TestLKENodePool_GetFound.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75774, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76170, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,11 +172,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75774/pools + url: https://api.linode.com/v4beta/lke/clusters/76170/pools method: POST response: - body: '{"id": 117762, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "117762-634448b1a9b6", - "instance_id": null, "status": "not_ready"}, {"id": "117762-634448b27897", "instance_id": + body: '{"id": 118358, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118358-63483a5f4cbe", + "instance_id": null, "status": "not_ready"}, {"id": "118358-63483a601b59", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: @@ -230,13 +230,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75774/pools/117762 + url: https://api.linode.com/v4beta/lke/clusters/76170/pools/118358 method: GET response: - body: '{"id": 117762, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "117762-634448b1a9b6", - "instance_id": null, "status": "not_ready"}, {"id": "117762-634448b27897", "instance_id": - null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' + body: '{"id": 118358, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118358-63483a5f4cbe", + "instance_id": 39523193, "status": "not_ready"}, {"id": "118358-63483a601b59", + "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": + "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -252,7 +252,7 @@ interactions: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - - "330" + - "334" Content-Security-Policy: - default-src 'none' Content-Type: @@ -290,7 +290,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75774/pools/117762 + url: https://api.linode.com/v4beta/lke/clusters/76170/pools/118358 method: DELETE response: body: '{}' @@ -345,7 +345,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75774 + url: https://api.linode.com/v4beta/lke/clusters/76170 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKENodePool_Update.yaml b/test/integration/fixtures/TestLKENodePool_Update.yaml index 3228d9d66..5eadb3537 100644 --- a/test/integration/fixtures/TestLKENodePool_Update.yaml +++ b/test/integration/fixtures/TestLKENodePool_Update.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75778, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76173, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,11 +172,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75778/pools + url: https://api.linode.com/v4beta/lke/clusters/76173/pools method: POST response: - body: '{"id": 117769, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "117769-634449046dda", - "instance_id": null, "status": "not_ready"}, {"id": "117769-634449053f96", "instance_id": + body: '{"id": 118365, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118365-63483ab318f8", + "instance_id": null, "status": "not_ready"}, {"id": "118365-63483ab3eaa0", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: @@ -230,13 +230,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75778/pools/117769 + url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 method: PUT response: - body: '{"id": 117769, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "117769-634449046dda", - "instance_id": null, "status": "not_ready"}, {"id": "117769-634449053f96", "instance_id": - null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": true, "min": 2, "max": 5}, "tags": []}' + body: '{"id": 118365, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118365-63483ab318f8", + "instance_id": 39523246, "status": "not_ready"}, {"id": "118365-63483ab3eaa0", + "instance_id": 39523247, "status": "not_ready"}], "disks": [{"size": 1000, "type": + "ext4"}], "autoscaler": {"enabled": true, "min": 2, "max": 5}, "tags": []}' headers: Access-Control-Allow-Credentials: - "true" @@ -251,7 +251,7 @@ interactions: Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - - "320" + - "328" Content-Security-Policy: - default-src 'none' Content-Type: @@ -288,14 +288,15 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75778/pools/117769 + url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 method: PUT response: - body: '{"id": 117769, "type": "g6-standard-2", "count": 3, "nodes": [{"id": "117769-634449046dda", - "instance_id": null, "status": "not_ready"}, {"id": "117769-634449053f96", "instance_id": - null, "status": "not_ready"}, {"id": "117769-634449098d26", "instance_id": null, - "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": true, "min": 2, "max": 5}, "tags": ["bar", "foo", "test"]}' + body: '{"id": 118365, "type": "g6-standard-2", "count": 3, "nodes": [{"id": "118365-63483ab318f8", + "instance_id": 39523246, "status": "not_ready"}, {"id": "118365-63483ab3eaa0", + "instance_id": 39523247, "status": "not_ready"}, {"id": "118365-63483ab82d2f", + "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": + "ext4"}], "autoscaler": {"enabled": true, "min": 2, "max": 5}, "tags": ["bar", + "foo", "test"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -310,7 +311,7 @@ interactions: Cache-Control: - private, max-age=60, s-maxage=60 Content-Length: - - "415" + - "423" Content-Security-Policy: - default-src 'none' Content-Type: @@ -347,7 +348,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75778/pools/117769 + url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 method: DELETE response: body: '{}' @@ -402,7 +403,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75778 + url: https://api.linode.com/v4beta/lke/clusters/76173 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKENodePools_List.yaml b/test/integration/fixtures/TestLKENodePools_List.yaml index 8d81e3281..a9e31d6ed 100644 --- a/test/integration/fixtures/TestLKENodePools_List.yaml +++ b/test/integration/fixtures/TestLKENodePools_List.yaml @@ -118,7 +118,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 75775, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 76171, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "ap-west", "k8s_version": "1.23", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -172,11 +172,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75775/pools + url: https://api.linode.com/v4beta/lke/clusters/76171/pools method: POST response: - body: '{"id": 117764, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "117764-634448cccc97", - "instance_id": null, "status": "not_ready"}, {"id": "117764-634448cd9c00", "instance_id": + body: '{"id": 118360, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118360-63483a7a95f3", + "instance_id": null, "status": "not_ready"}, {"id": "118360-63483a7b6526", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' headers: @@ -230,17 +230,17 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75775/pools + url: https://api.linode.com/v4beta/lke/clusters/76171/pools method: GET response: - body: '{"data": [{"id": 117763, "type": "g6-standard-2", "count": 1, "nodes": - [{"id": "117763-634448cbd1a5", "instance_id": null, "status": "not_ready"}], + body: '{"data": [{"id": 118359, "type": "g6-standard-2", "count": 1, "nodes": + [{"id": "118359-63483a79a0e4", "instance_id": 39523208, "status": "not_ready"}], "disks": [], "autoscaler": {"enabled": false, "min": 1, "max": 1}, "tags": ["test"]}, - {"id": 117764, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "117764-634448cccc97", - "instance_id": null, "status": "not_ready"}, {"id": "117764-634448cd9c00", "instance_id": - null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}], "page": 1, "pages": - 1, "results": 2}' + {"id": 118360, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118360-63483a7a95f3", + "instance_id": 39523209, "status": "not_ready"}, {"id": "118360-63483a7b6526", + "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": + "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}], + "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" @@ -256,7 +256,7 @@ interactions: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 Content-Length: - - "603" + - "611" Content-Security-Policy: - default-src 'none' Content-Type: @@ -294,7 +294,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75775/pools/117764 + url: https://api.linode.com/v4beta/lke/clusters/76171/pools/118360 method: DELETE response: body: '{}' @@ -349,7 +349,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/75775 + url: https://api.linode.com/v4beta/lke/clusters/76171 method: DELETE response: body: '{}' diff --git a/types.go b/types.go index 51180d91f..c5895e2f2 100644 --- a/types.go +++ b/types.go @@ -68,25 +68,48 @@ func (resp *LinodeTypesPagedResponse) castResult(r *resty.Request, e string) (in return castedRes.Pages, castedRes.Results, nil } -// ListTypes lists linode types +// ListTypes lists linode types. This endpoint is cached by default. func (c *Client) ListTypes(ctx context.Context, opts *ListOptions) ([]LinodeType, error) { response := LinodeTypesPagedResponse{} + if result, err := c.getCachedResponse(response.endpoint()); err != nil { + return nil, err + } else if result != nil { + return result.([]LinodeType), nil + } + err := c.listHelper(ctx, &response, opts) if err != nil { return nil, err } + if err := c.addCachedResponse(response.endpoint(), response.Data, &cacheExpiryTime); err != nil { + return nil, err + } + return response.Data, nil } -// GetType gets the type with the provided ID +// GetType gets the type with the provided ID. This endpoint is cached by default. func (c *Client) GetType(ctx context.Context, typeID string) (*LinodeType, error) { e := fmt.Sprintf("linode/types/%s", typeID) + + if result, err := c.getCachedResponse(e); err != nil { + return nil, err + } else if result != nil { + result := result.(LinodeType) + return &result, nil + } + req := c.R(ctx).SetResult(LinodeType{}) r, err := coupleAPIErrors(req.Get(e)) if err != nil { return nil, err } + + if err := c.addCachedResponse(e, r.Result(), &cacheExpiryTime); err != nil { + return nil, err + } + return r.Result().(*LinodeType), nil }