From dc61b1db781e7d3dae5faba7b371f684b734efa9 Mon Sep 17 00:00:00 2001 From: Alex Vest Date: Thu, 16 May 2024 15:16:47 +0100 Subject: [PATCH 1/8] Linode Disk Encryption Support (#503) * Add Linode DiskEncryption fields DiskEncryption can be set at Linode creation time, however it cannot be altered after instance creation. * Add DiskEncryption fields to LKENodePools LKENodePool instances have disc encryption is not configurable and is enabled by default. Existing LKENodePools will create instances that DO NOT have disk encryption enabled. As such there is no option to set DiskEncryption on LKENodePools at creation time but the status of DiskEncryption is returned from the API when viewing LKENodePools. * DiskEncryption integration tests * Update k8s to supported version * Add check for LKE nodepool disk encryption New node pools have disk encryption enabled by default * Target DCs with Disk Encryption * Update LKE tests & fixtures * Add LKEClusterID to instance struct Add test to validate the field * Add DiskEncryption to disks, linode create and rebuild opts Add new tests for listing disks with encryption and rebuilding disks with encryption. New tests are required as Disk Encryption is not live yet * Update alpine image to latest Image is available in dev * Check Linode LKE clusterID field This does not yet work in dev so test addition is commented out * Fix ClusterNodesReady desc Bad pasta Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com> --------- Co-authored-by: Lena Garber Co-authored-by: Lena Garber <114949949+lgarber-akamai@users.noreply.github.com> --- go.work.sum | 4 +- instance_disks.go | 15 +- instances.go | 49 +- k8s/pkg/condition/lke.go | 30 + lke_node_pools.go | 3 +- .../fixtures/TestInstance_DiskEncryption.yaml | 252 +++++++ ...estInstance_Disks_List_WithEncryption.yaml | 319 ++++++++ .../TestInstance_RebuildWithEncryption.yaml | 525 +++++++++++++ .../TestLKECluster_APIEndpoints_List.yaml | 235 +++--- .../TestLKECluster_Dashboard_Get.yaml | 155 ++-- .../fixtures/TestLKECluster_GetFound.yaml | 145 ++-- .../fixtures/TestLKECluster_GetMissing.yaml | 6 +- .../TestLKECluster_Kubeconfig_Get.yaml | 359 +++------ .../TestLKECluster_Nodes_Recycle.yaml | 137 ++-- .../fixtures/TestLKECluster_Update.yaml | 205 ++++-- .../fixtures/TestLKECluster_WaitForReady.yaml | 312 +++----- .../TestLKECluster_WaitForReady_Cluster.yaml | 696 +++++++++++++++++- .../fixtures/TestLKEClusters_List.yaml | 143 ++-- .../fixtures/TestLKENodePoolNode_Delete.yaml | 175 +++-- .../fixtures/TestLKENodePool_GetFound.yaml | 169 +++-- .../fixtures/TestLKENodePool_GetMissing.yaml | 6 +- .../fixtures/TestLKENodePool_Update.yaml | 188 +++-- .../fixtures/TestLKENodePools_List.yaml | 177 +++-- .../fixtures/TestLKEVersion_GetFound.yaml | 8 +- .../fixtures/TestLKEVersion_GetMissing.yaml | 6 +- .../fixtures/TestLKEVersions_List.yaml | 9 +- test/integration/instances_test.go | 79 +- test/integration/lke_clusters_test.go | 33 +- test/integration/lke_node_pools_test.go | 35 + 29 files changed, 3186 insertions(+), 1289 deletions(-) create mode 100644 test/integration/fixtures/TestInstance_DiskEncryption.yaml create mode 100644 test/integration/fixtures/TestInstance_Disks_List_WithEncryption.yaml create mode 100644 test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml diff --git a/go.work.sum b/go.work.sum index 6298cd966..2bc700c72 100644 --- a/go.work.sum +++ b/go.work.sum @@ -8,6 +8,7 @@ cloud.google.com/go/compute/metadata v0.2.0 h1:nBbNSZyDpkNlo3DepaaLKVuO7ClyifSAm cloud.google.com/go/compute/metadata v0.2.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/compute/metadata v0.2.3 h1:mg4jlk7mCAj6xXp9UJ4fjI9VUI5rubuGBW5aJ7UnBMY= cloud.google.com/go/compute/metadata v0.2.3/go.mod h1:VAV5nSsACxMJvgaAuX6Pk2AawlZn8kiOGuCv6gTkwuA= +cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc= cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= cloud.google.com/go/datastore v1.1.0 h1:/May9ojXjRkPBNVrq+oWLqmWCkr4OU5uRY29bu0mRyQ= cloud.google.com/go/pubsub v1.3.1 h1:ukjixP1wl0LpnZ6LWtZJ0mX5tBmjp1f8Sqer8Z2OMUU= @@ -201,6 +202,7 @@ golang.org/x/crypto v0.18.0/go.mod h1:R0j02AL6hcrfOiy9T4ZYp/rcWeMxM3L6QYxlOuEG1m golang.org/x/crypto v0.21.0 h1:X31++rzVUdKhX5sWmSOFZxx8UW/ldWx55cbf08iNAMA= golang.org/x/crypto v0.22.0 h1:g1v0xeRhjcugydODzvb3mEM9SQ0HGp9s/nh3COQ/C30= golang.org/x/crypto v0.22.0/go.mod h1:vr6Su+7cTlO45qkww3VDJlzDn0ctJvRgYbC2NvXHt+M= +golang.org/x/crypto v0.23.0 h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI= golang.org/x/crypto v0.23.0/go.mod h1:CKFgDieR+mRhux2Lsu27y0fO304Db0wZe70UKqHu0v8= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6 h1:QE6XYQK6naiK1EPAe1g/ILLxN5RBoH5xkJk3CqlMI/Y= golang.org/x/image v0.0.0-20190802002840-cff245a6509b h1:+qEpEAPhDZ1o0x3tHzZTQDArnOixOzGD9HUJfcg0mb4= @@ -235,8 +237,6 @@ golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod h1:h1NjWce9XRLGQEsW7w golang.org/x/sys v0.7.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.20.0/go.mod h1:8UkIAJTvZgivsXaD6/pH6U9ecQzZ45awqEOzuCvwpFY= golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk= golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= diff --git a/instance_disks.go b/instance_disks.go index b776d5c9b..273a3cd0a 100644 --- a/instance_disks.go +++ b/instance_disks.go @@ -12,13 +12,14 @@ import ( // InstanceDisk represents an Instance Disk object type InstanceDisk struct { - ID int `json:"id"` - Label string `json:"label"` - Status DiskStatus `json:"status"` - Size int `json:"size"` - Filesystem DiskFilesystem `json:"filesystem"` - Created *time.Time `json:"-"` - Updated *time.Time `json:"-"` + ID int `json:"id"` + Label string `json:"label"` + Status DiskStatus `json:"status"` + Size int `json:"size"` + Filesystem DiskFilesystem `json:"filesystem"` + Created *time.Time `json:"-"` + Updated *time.Time `json:"-"` + DiskEncryption InstanceDiskEncryption `json:"disk_encryption"` } // DiskFilesystem constants start with Filesystem and include Linode API Filesystems diff --git a/instances.go b/instances.go index a56c3321b..c85ae019a 100644 --- a/instances.go +++ b/instances.go @@ -43,25 +43,27 @@ const ( // Instance represents a linode object type Instance struct { - ID int `json:"id"` - Created *time.Time `json:"-"` - Updated *time.Time `json:"-"` - Region string `json:"region"` - Alerts *InstanceAlert `json:"alerts"` - Backups *InstanceBackup `json:"backups"` - Image string `json:"image"` - Group string `json:"group"` - IPv4 []*net.IP `json:"ipv4"` - IPv6 string `json:"ipv6"` - Label string `json:"label"` - Type string `json:"type"` - Status InstanceStatus `json:"status"` - HasUserData bool `json:"has_user_data"` - Hypervisor string `json:"hypervisor"` - HostUUID string `json:"host_uuid"` - Specs *InstanceSpec `json:"specs"` - WatchdogEnabled bool `json:"watchdog_enabled"` - Tags []string `json:"tags"` + ID int `json:"id"` + Created *time.Time `json:"-"` + Updated *time.Time `json:"-"` + Region string `json:"region"` + Alerts *InstanceAlert `json:"alerts"` + Backups *InstanceBackup `json:"backups"` + Image string `json:"image"` + Group string `json:"group"` + IPv4 []*net.IP `json:"ipv4"` + IPv6 string `json:"ipv6"` + Label string `json:"label"` + Type string `json:"type"` + Status InstanceStatus `json:"status"` + HasUserData bool `json:"has_user_data"` + Hypervisor string `json:"hypervisor"` + HostUUID string `json:"host_uuid"` + Specs *InstanceSpec `json:"specs"` + WatchdogEnabled bool `json:"watchdog_enabled"` + Tags []string `json:"tags"` + DiskEncryption InstanceDiskEncryption `json:"disk_encryption"` + LKEClusterID int `json:"lke_cluster_id"` } // InstanceSpec represents a linode spec @@ -92,6 +94,13 @@ type InstanceBackup struct { } `json:"schedule,omitempty"` } +type InstanceDiskEncryption string + +const ( + InstanceDiskEncryptionEnabled InstanceDiskEncryption = "enabled" + InstanceDiskEncryptionDisabled InstanceDiskEncryption = "disabled" +) + // InstanceTransfer pool stats for a Linode Instance during the current billing month type InstanceTransfer struct { // Bytes of transfer this instance has consumed @@ -129,6 +138,7 @@ type InstanceCreateOptions struct { Tags []string `json:"tags,omitempty"` Metadata *InstanceMetadataOptions `json:"metadata,omitempty"` FirewallID int `json:"firewall_id,omitempty"` + DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"` // Creation fields that need to be set explicitly false, "", or 0 use pointers SwapSize *int `json:"swap_size,omitempty"` @@ -377,6 +387,7 @@ type InstanceRebuildOptions struct { Booted *bool `json:"booted,omitempty"` Metadata *InstanceMetadataOptions `json:"metadata,omitempty"` Type string `json:"type,omitempty"` + DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"` } // RebuildInstance Deletes all Disks and Configs on this Linode, diff --git a/k8s/pkg/condition/lke.go b/k8s/pkg/condition/lke.go index 2ef121e0a..e951408c3 100644 --- a/k8s/pkg/condition/lke.go +++ b/k8s/pkg/condition/lke.go @@ -33,9 +33,39 @@ func ClusterHasReadyNode(ctx context.Context, options linodego.ClusterConditionO return false, nil } +// ClusterNodesReady is a ClusterConditionFunc which polls for all nodes to have the +// condition NodeReady=True. +func ClusterNodesReady(ctx context.Context, options linodego.ClusterConditionOptions) (bool, error) { + clientset, err := k8s.BuildClientsetFromConfig(options.LKEClusterKubeconfig, options.TransportWrapper) + if err != nil { + return false, err + } + + nodes, err := clientset.CoreV1().Nodes().List(ctx, v1.ListOptions{}) + if err != nil { + return false, fmt.Errorf("failed to get nodes for cluster: %w", err) + } + + for _, node := range nodes.Items { + for _, condition := range node.Status.Conditions { + if condition.Type == corev1.NodeReady && condition.Status != corev1.ConditionTrue { + return false, nil + } + } + } + return true, nil +} + // WaitForLKEClusterReady polls with a given timeout for the LKE Cluster's api-server // to be healthy and for the cluster to have at least one node with the NodeReady // condition true. func WaitForLKEClusterReady(ctx context.Context, client linodego.Client, clusterID int, options linodego.LKEClusterPollOptions) error { return client.WaitForLKEClusterConditions(ctx, clusterID, options, ClusterHasReadyNode) } + +// WaitForLKEClusterAndNodesReady polls with a given timeout for the LKE +// Cluster's api-server to be healthy and for all cluster nodes to have the +// NodeReady condition true. +func WaitForLKEClusterAndNodesReady(ctx context.Context, client linodego.Client, clusterID int, options linodego.LKEClusterPollOptions) error { + return client.WaitForLKEClusterConditions(ctx, clusterID, options, ClusterNodesReady) +} diff --git a/lke_node_pools.go b/lke_node_pools.go index b7e5bc0bb..3e0c0c883 100644 --- a/lke_node_pools.go +++ b/lke_node_pools.go @@ -47,7 +47,8 @@ type LKENodePool struct { Linodes []LKENodePoolLinode `json:"nodes"` Tags []string `json:"tags"` - Autoscaler LKENodePoolAutoscaler `json:"autoscaler"` + Autoscaler LKENodePoolAutoscaler `json:"autoscaler"` + DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"` } // LKENodePoolCreateOptions fields are those accepted by CreateLKENodePool diff --git a/test/integration/fixtures/TestInstance_DiskEncryption.yaml b/test/integration/fixtures/TestInstance_DiskEncryption.yaml new file mode 100644 index 000000000..d0317b17f --- /dev/null +++ b/test/integration/fixtures/TestInstance_DiskEncryption.yaml @@ -0,0 +1,252 @@ +--- +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", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "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 + Connection: + - keep-alive + Content-Length: + - "7192" + 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: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-72053mvwvvd0","root_pass":"TKfph1YRz3$A''xB:+y:zjp95QFW$OB9^7NW29]0?evp15]f69;Cb2#7Pv0?^G`x.","image":"linode/debian9","disk_encryption":"enabled","booted":false}' + 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/instances + method: POST + response: + body: '{"id": 25161592, "label": "go-test-ins-72053mvwvvd0", "group": "", "status": + "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-nanode-1", "ipv4": ["139.144.131.14"], "ipv6": "1234::5678/128", + "image": "linode/debian9", "region": "us-east", "specs": {"disk": 25600, "memory": + 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": + 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": + false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": + "6f6d2db69b53136a16a2b9fa33f42654a2c5d4a7", "has_user_data": false, "placement_group": + null, "disk_encryption": "enabled"}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "797" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "10" + 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/instances/25161592 + method: DELETE + response: + body: '{}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/fixtures/TestInstance_Disks_List_WithEncryption.yaml b/test/integration/fixtures/TestInstance_Disks_List_WithEncryption.yaml new file mode 100644 index 000000000..f630144d8 --- /dev/null +++ b/test/integration/fixtures/TestInstance_Disks_List_WithEncryption.yaml @@ -0,0 +1,319 @@ +--- +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", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "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 + Connection: + - keep-alive + Content-Length: + - "7192" + 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: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-1i45oc3t4w6j","root_pass":"0.''d2R3FRt=]x\u003e27n)\u0026DIpH^55WhI{9j3/aBaK7v[us1{`K(Uui90R[RWfg}95N2","image":"linode/debian9","booted":false}' + 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/instances + method: POST + response: + body: '{"id": 25167333, "label": "go-test-ins-1i45oc3t4w6j", "group": "", "status": + "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-nanode-1", "ipv4": ["172.234.6.92"], "ipv6": "1234::5678/128", + "image": "linode/debian9", "region": "us-east", "specs": {"disk": 25600, "memory": + 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": + 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": + false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": + "6f6d2db69b53136a16a2b9fa33f42654a2c5d4a7", "has_user_data": false, "placement_group": + null, "disk_encryption": "enabled"}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "795" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "10" + 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/instances/25167333/disks + method: GET + response: + body: '{"data": [{"id": 6241630, "status": "not ready", "label": "Debian 9 Disk", + "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": + "ext4", "size": 25088, "disk_encryption": "enabled"}, {"id": 6241631, "status": + "not ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", + "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512, "disk_encryption": + "enabled"}], "page": 1, "pages": 1, "results": 2}' + 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=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "451" + 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: + - linodes:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + 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/instances/25167333 + method: DELETE + response: + body: '{}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml b/test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml new file mode 100644 index 000000000..f680c0c1b --- /dev/null +++ b/test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml @@ -0,0 +1,525 @@ +--- +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", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "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 + Connection: + - keep-alive + Content-Length: + - "7192" + 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: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-wo-disk-x69y691y7ovf","disk_encryption":"enabled","booted":false}' + 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/instances + method: POST + response: + body: '{"id": 25167331, "label": "go-test-ins-wo-disk-x69y691y7ovf", "group": + "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-nanode-1", "ipv4": ["172.234.6.47"], "ipv6": "1234::5678/128", + "image": null, "region": "us-east", "specs": {"disk": 25600, "memory": 1024, + "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": + 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": + false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": + null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": + "6f6d2db69b53136a16a2b9fa33f42654a2c5d4a7", "has_user_data": false, "placement_group": + null, "disk_encryption": "enabled"}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "791" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "10" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"label":"go-test-conf-6za102rzcp03","devices":{},"interfaces":null}' + 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/instances/25167331/configs + method: POST + response: + body: '{"id": 3395020, "label": "go-test-conf-6za102rzcp03", "helpers": {"updatedb_disabled": + true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": + true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": + "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", + "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, + "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", + "virt_mode": "paravirt", "interfaces": []}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "538" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + 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 + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":25167331,"entity.type":"linode"}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 28420979, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, + "duration": null, "action": "linode_create", "username": "avest", "entity": + {"label": "go-test-ins-wo-disk-x69y691y7ovf", "id": 25167331, "type": "linode", + "url": "/v4/linode/instances/25167331"}, "status": "scheduled", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + 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=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "451" + 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: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + 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 + X-Filter: + - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":25167331,"entity.type":"linode","id":{"+gte":28420979}}' + url: https://api.linode.com/v4beta/account/events?page=1 + method: GET + response: + body: '{"data": [{"id": 28420979, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": + 28.0, "action": "linode_create", "username": "avest", "entity": {"label": "go-test-ins-wo-disk-x69y691y7ovf", + "id": 25167331, "type": "linode", "url": "/v4/linode/instances/25167331"}, "status": + "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, + "results": 1}' + 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=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "449" + 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: + - events:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"image":"linode/alpine3.19","root_pass":"q!d77=8f3lX47c|[Ir6jZhA5:b*L\\Mp(g{PBW/0|G3tz7`X\u003cYKF657bz.2D0=\\Wl","type":"g6-standard-2","disk_encryption":"disabled"}' + 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/instances/25167331/rebuild + method: POST + response: + body: '{"id": 25167331, "label": "go-test-ins-wo-disk-x69y691y7ovf", "group": + "", "status": "rebuilding", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-standard-2", "ipv4": ["172.234.6.47"], "ipv6": "1234::5678/128", + "image": "linode/alpine3.19", "region": "us-east", "specs": {"disk": 25600, + "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": + 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, + "backups": {"enabled": false, "available": false, "schedule": {"day": null, + "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": + true, "tags": [], "host_uuid": "6f6d2db69b53136a16a2b9fa33f42654a2c5d4a7", "has_user_data": + false, "placement_group": null, "disk_encryption": "disabled"}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "807" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + 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/instances/25167331 + method: DELETE + response: + body: '{}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "2" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - account:read_write databases:read_write domains:read_write events:read_write + firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write + longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write + volumes:read_write vpc:read_write + X-Ratelimit-Limit: + - "400" + 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 96b4a02bc..8287d604b 100644 --- a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml +++ b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-apiend","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-apiend","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7323, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-apiend", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "243" + - "242" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -172,89 +187,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - 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 - 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: - - "96" - Content-Type: - - application/json - Server: - - nginx - Vary: - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - lke:read_only - 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/76166/api-endpoints - method: GET - response: - body: '{"errors": [{"reason": "Cluster API Endpoints are 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: - - "96" - Content-Type: - - application/json - Server: - - nginx - Vary: - - Authorization, X-Filter - X-Accepted-Oauth-Scopes: - - lke:read_only - 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/76166/api-endpoints + url: https://api.linode.com/v4beta/lke/clusters/7323/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please @@ -266,6 +199,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "96" Content-Type: @@ -281,8 +216,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -295,12 +230,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76166/api-endpoints + url: https://api.linode.com/v4beta/lke/clusters/7323/api-endpoints method: GET response: - 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"}]}' + body: '{"page": 1, "pages": 1, "results": 4, "data": [{"endpoint": "https://2dfc5e68-f61d-4303-ab74-441e835acdaa.cpc1-cjj1-testing.linodelke.net:443"}, + {"endpoint": "https://2dfc5e68-f61d-4303-ab74-441e835acdaa.cpc1-cjj1-testing.linodelke.net:6443"}, + {"endpoint": "https://172.234.0.10:443"}, {"endpoint": "https://172.234.0.10:6443"}]}' headers: Access-Control-Allow-Credentials: - "true" @@ -315,8 +250,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "317" + - "329" Content-Security-Policy: - default-src 'none' Content-Type: @@ -338,7 +275,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -354,7 +291,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76166 + url: https://api.linode.com/v4beta/lke/clusters/7323 method: DELETE response: body: '{}' @@ -371,6 +308,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -393,7 +332,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml index 4e2ea82b1..9c0c1e22c 100644 --- a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-dash","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-dash","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7325, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "241" + - "240" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -172,12 +187,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76168 + url: https://api.linode.com/v4beta/lke/clusters/7325 method: GET response: - 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"]}' + body: '{"id": 7325, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -192,8 +207,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "241" + - "240" Content-Security-Policy: - default-src 'none' Content-Type: @@ -215,7 +232,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -231,10 +248,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76168/dashboard + url: https://api.linode.com/v4beta/lke/clusters/7325/dashboard method: GET response: - body: '{"url": "https://4540c914-7a8a-4f92-8d98-ddd1d60d9476.dashboard.ap-west-2.linodelke.net"}' + body: '{"url": "https://9808ce20-641e-45e2-8905-5bc8a3ee788a.dashboard.cpc1-cjj1-testing.linodelke.net"}' headers: Access-Control-Allow-Credentials: - "true" @@ -249,8 +266,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "89" + - "97" Content-Security-Policy: - default-src 'none' Content-Type: @@ -272,7 +291,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -288,7 +307,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76168 + url: https://api.linode.com/v4beta/lke/clusters/7325 method: DELETE response: body: '{}' @@ -305,6 +324,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -327,7 +348,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKECluster_GetFound.yaml b/test/integration/fixtures/TestLKECluster_GetFound.yaml index f0abcb535..248344909 100644 --- a/test/integration/fixtures/TestLKECluster_GetFound.yaml +++ b/test/integration/fixtures/TestLKECluster_GetFound.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-found","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-found","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7320, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "242" + - "241" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -172,12 +187,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76163 + url: https://api.linode.com/v4beta/lke/clusters/7320 method: GET response: - 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"]}' + body: '{"id": 7320, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -192,8 +207,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "242" + - "241" Content-Security-Policy: - default-src 'none' Content-Type: @@ -215,7 +232,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -231,7 +248,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76163 + url: https://api.linode.com/v4beta/lke/clusters/7320 method: DELETE response: body: '{}' @@ -248,6 +265,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -270,7 +289,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKECluster_GetMissing.yaml b/test/integration/fixtures/TestLKECluster_GetMissing.yaml index ebd5a05fc..37f054f96 100644 --- a/test/integration/fixtures/TestLKECluster_GetMissing.yaml +++ b/test/integration/fixtures/TestLKECluster_GetMissing.yaml @@ -24,6 +24,8 @@ interactions: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "37" Content-Type: @@ -39,7 +41,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 404 Not Found + - "400" + status: 404 NOT FOUND code: 404 duration: "" diff --git a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml index f4ecc6049..3b45ce673 100644 --- a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-kube-get","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-kube-get","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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": + body: '{"id": 7324, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "us-east", + "k8s_version": "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: @@ -135,8 +148,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "245" + - "244" Content-Security-Policy: - default-src 'none' Content-Type: @@ -157,7 +172,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -173,12 +188,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76167 + url: https://api.linode.com/v4beta/lke/clusters/7324 method: GET response: - 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": + body: '{"id": 7324, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "us-east", + "k8s_version": "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: @@ -194,8 +209,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "245" + - "244" Content-Security-Policy: - default-src 'none' Content-Type: @@ -217,7 +234,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -233,7 +250,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -245,6 +262,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -260,8 +279,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -274,7 +293,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -286,6 +305,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -301,8 +322,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -315,7 +336,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -327,6 +348,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -342,8 +365,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -356,7 +379,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -368,6 +391,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -383,8 +408,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -397,7 +422,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -409,6 +434,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -424,8 +451,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -438,174 +465,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76167/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7324/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/76167/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/76167/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/76167/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/76167/kubeconfig - method: GET - response: - body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTXZha05EUVdWaFowRjNTVUpCWjBsQ1FVUkJUa0puYTNGb2EybEhPWGN3UWtGUmMwWkJSRUZXVFZKTmQwVlJXVVJXVVZGRVJYZHdjbVJYU213S1kyMDFiR1JIVm5wTlFqUllSRlJKZVUxVVFYaE5la1V5VFZSUk1VMVdiMWhFVkUxNVRWUkJlRTFFUlRKTlZGRXhUVlp2ZDBaVVJWUk5Ra1ZIUVRGVlJRcEJlRTFMWVROV2FWcFlTblZhV0ZKc1kzcERRMEZUU1hkRVVWbEtTMjlhU1doMlkwNUJVVVZDUWxGQlJHZG5SVkJCUkVORFFWRnZRMmRuUlVKQlMzUkRDa0p4WW1oeVVFdENlbUZQY0dvdlJubFZPRGRRVnpWTE5VTnZWSFZzYkZaVVFUbERhVFJVVm1kWWVuTnhXbVE0T0dscFVGbEVlRWRUVEhobFZEaFpjRFlLTTB0aGNrMW5TVGxrTmpCUWExbGlVemxrWVZwVE5EVkVNVGhpY2pCUFJXdDJjVzluWTJ0QmVUWjJibGt2VVM5S2FXWlpWamwxZG5SeVdtNVVPRlZoU2dwTWRFdFZOV3B2VDFaUmFuQnBiV1ZIUVRKR2Jsa3JjMVJyTTFrM1VYaHhVWFJHUVZONGJFNVBLemg1Tm5WTWJIbGhVV2N5V0hWMk5scEdjMU40UW5RekNsSXdkMmRpZGtWaVVrNXJOV28zYzNoa1lUVmxUV1J0UjFoQ1EyRlBRMXBOVUhRd2JIUnBjbTlJYmtRNU9ESkRSVFpqTURKWE9UbHhLMlpGWWs1a1oxQUtkRFJ1VUVKTmFIVTBRa3cxYm1sd1VGRmxRVE5DZVVwUlkwRklZMjVQVmpGRE1sSnpMMDFITW5BMGJsWTNRMGxqWm1nelpISktTVVI2ZERGTlpuSmpWUXBYWkhSbFRWUTJTazVKTjA5WmVtcFlhV3ByUTBGM1JVRkJZVTVhVFVaamQwUm5XVVJXVWpCUVFWRklMMEpCVVVSQlowdHJUVUU0UjBFeFZXUkZkMFZDQ2k5M1VVWk5RVTFDUVdZNGQwaFJXVVJXVWpCUFFrSlpSVVpEWm1GM00ydDFRVXhxWW10S1EzUnpRVVF3Ulhock1qSm9hR2ROUWxWSFFURlZaRVZSVVU4S1RVRjVRME50ZERGWmJWWjVZbTFXTUZwWVRYZEVVVmxLUzI5YVNXaDJZMDVCVVVWTVFsRkJSR2RuUlVKQlJFMVROR1pEVVU1emVrNUhTMlEzU0hoVlR3cGtiemN4VkZONFMzYzVaM1JNS3pOSlF6bExWMXBCTlVoT2EzVlBXSE5MYnpkd1RHSTNhbkJCWWtwc1NFaFNkRTQxVkZoamJUSXlMemRrTWprNE5HRkZDbkpLTW10VWNraHlRbTEyYjB3MWEwY3pkMGMzYkRSTFltSnBSVFYwYWtZelNYZHVORkJYYlRsd1FYUlJNM1UwTjA5SlFWVjNaazF0Y0haRlYydFpXbG9LTmxvMloycGxkMDlNUW5CdmQyZEhja1pXUmpkSFRXbHlNRk53TkRKMWJpOUtPSEpFVUZvMVNtdHlZMEphUTNOT05GcHBiVFZ2ZVdOVk9XdHVNRkYyUmdwalJ6QjJkRFJSUzBKUVRtc3haM0p1UlZSWmVGcDZUMk0xY0VSa1RFbFdNbWhCYVRWUmJEQklia1pwU1N0aE1XczNhR3A2Umk5TlEzZE5aRzFFUm5rNENuQnJXa2htYTBwWFVVb3JSWEI1UkV0c2JXTlJWMVJRWVZkUGVFVjZXRlpJYzBobGNuTjRaMEowUkcxRVptSm5la0Z0TVhWM1QyTnVlbE5XTUV0RWNra0tWa2hOUFFvdExTMHRMVVZPUkNCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgc2VydmVyOiBodHRwczovLzRjYmY4MmI2LTUwYTQtNGI4Ny1iMTkwLWZjOTQ0ZjRmNDFlMy5hcC13ZXN0LTIubGlub2RlbGtlLm5ldDo0NDMKICBuYW1lOiBsa2U3NjE2NwoKdXNlcnM6Ci0gbmFtZTogbGtlNzYxNjctYWRtaW4KICB1c2VyOgogICAgYXMtdXNlci1leHRyYToge30KICAgIHRva2VuOiBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpsSFpYcE5iMWhuZVY5SWRHWm5VM2hsYkRoTWFGRTNYelpEUVhCTGFqTnBVMmRLUTBrd09FUnZUVVVpZlEuZXlKcGMzTWlPaUpyZFdKbGNtNWxkR1Z6TDNObGNuWnBZMlZoWTJOdmRXNTBJaXdpYTNWaVpYSnVaWFJsY3k1cGJ5OXpaWEoyYVdObFlXTmpiM1Z1ZEM5dVlXMWxjM0JoWTJVaU9pSnJkV0psTFhONWMzUmxiU0lzSW10MVltVnlibVYwWlhNdWFXOHZjMlZ5ZG1salpXRmpZMjkxYm5RdmMyVmpjbVYwTG01aGJXVWlPaUpzYTJVdFlXUnRhVzR0ZEc5clpXNHRlbTR5Y21naUxDSnJkV0psY201bGRHVnpMbWx2TDNObGNuWnBZMlZoWTJOdmRXNTBMM05sY25acFkyVXRZV05qYjNWdWRDNXVZVzFsSWpvaWJHdGxMV0ZrYldsdUlpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl6WlhKMmFXTmxMV0ZqWTI5MWJuUXVkV2xrSWpvaU9XSXpNelk0TnpFdE9UZ3lOUzAwTUdRMUxXRmhOakl0TUdabVlqTmxZVEZsT0RBd0lpd2ljM1ZpSWpvaWMzbHpkR1Z0T25ObGNuWnBZMlZoWTJOdmRXNTBPbXQxWW1VdGMzbHpkR1Z0T214clpTMWhaRzFwYmlKOS5mOHhIb1BoQmp1b1lwcDg1dmRybXplVzVFNlhqX05TcTluMk5zZUZmYVJJOHF1cEg5bXQxM01zcDlhY25ZMXhNc3NOcHhUa245Q1hSQTN5dlloa1AtZ09GRU1MeWRkMEJ3R3RfdmtpV3cwUzA2bmh0aG1uUk5UbDEzLXhJT19nYVZUV3RFVUliUTZaeU11dVRTQmkzYVJQb3dxR3oyeDdfVFdDNEFTeHdiXzBaVTM0NkpQVEd6LXkyWDhjVmZzem1PbWtZd0V5cFczZ2E2R1Mtdkl4cVctWk1IUVpzT3pEUjhLZ1ItWUtPQnJScGVtN3FFYVZmTmo0dVRwUG8xLWRLNkFPaDhQR2dLQm5SWk5PSEdlZUQ1VmVHczQteS1PWm5NX1h2cFY2alVYRTlqWldyZHhuc2pQaDNUbjF2eFZHZ3pwZl92ZmpiZmNKREx4bUlRNTB4V1EKCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBsa2U3NjE2NwogICAgbmFtZXNwYWNlOiBkZWZhdWx0CiAgICB1c2VyOiBsa2U3NjE2Ny1hZG1pbgogIG5hbWU6IGxrZTc2MTY3LWN0eAoKY3VycmVudC1jb250ZXh0OiBsa2U3NjE2Ny1jdHgK"}' + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlEwVjZTamxTVFRNeVlUQjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk1VMVVVWGhQUkZVd1RYcEtZVVozTUhwT1JFRXhUVlJKZUU5RVZUVk5la3BoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVTTJhRWRNVldkUlQxbEZjVzV6YjJkNlMyaHdlSGsxT0VaVFZ6bEZkSEpLYVVSb1ZsWlZiMFY1U1ZsVllqbFRkSFp0VkdWamNsQkpNMUlLUWpadGRUbG5XbFZqZHpadmJETTFTVmRpV1hSSE5DOTJTM0UyUnpNdlVrZHNUVGREWm10Q1VGWlRaazB3ZEhWRE1YRktNRFV2VjBOWVJtcGFSRTA0ZFFwNlVrNHdVSGgyVmxJdksweGtaV0p6VEdGbmFuWXlWVE5WWVZSaVlVaGpVbHBNU1ZCaVZYVnRMMUJqYTFvMWNFUjJaMFZHZVRaWlZHRTJTRmN5ZFV4NUNsbFZhMDlOVW05U2FqZGxVSFF2Tldkdk5VUmpUSGxYV0d0bU1FeE9LMnc1YkZWWU5YQjFjMWg1ZFdwUE1IRTNjVTFHU1VwU1ZWWjZhamhSTkVscGJ6a0thRk5VZEZCMVlXSjRXbnBJTldaV2VIbzBZbXQxYVhKemFUVXJhazFrY2xoaEt6RkdNRkpzUkc5dFpVdHFVVFJrY0N0YVFWTkpPWEppYjNaQ00yOUlkUXBhTTJ3clpXdE9lVzV4YW1OSVF6QkpZVmxGVlV4NGRuWnljMEpFUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pSVFZaaWRITndVamd5UjNwNVdsUXZTa3R3YTNwSlRuRnlaMDlFUVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlFsbHdabE5UYnl0b013cDNWM1l6ZFM4elV6aG5lVU5aVVc1NVpWVnpZblZ4VWxsa1psaHdUazFSWW01NlMxVlRaV1UxTVhKT2RIRldZMWtyYjJoSVlVOVNSRmd3ZVRoNlQxVmlDbkZWZUhGRk1HMW9NSGhZT0hKWUsxUnVkVTF0ZWpsaGFXZFZTMGhETHl0TWFraHZUMVZNYTNwb1p6TnlhMHRoY0ZSSFdHRnZiV0p4Y0dwRVFuUjBTVUlLYUM4ck5EbGlMM0YyWjI5M1prTTJWVzlPVmtKeVpFaFdOeXRwZFZBMGVrbzNVelZFV0UxcmVEYzVORXRyYlN0WFpVeGFaV05uZEM5MVkwUmpVMEk1U1FwWVIyNVdaa05OTTBSU2MzTnlNR0Z2V2twUVRXNU9TVVJSYzJwMVExSm1TMWxxWTNsWGEyeDBNRE15ZGtKNmRuUk9lRVZwY3paVmIzUm1iRTAwTmtvd0NsRkVlRmQxTUZOcVMweGpPSGsyYTNCSGRXMWhiVzlxVFVaaFNXdElPVE5uUkhGUWRITXljMHhVZUd0NFNqaHlMeTl5TkRoV1FsWlVXVWg0SzJJd1RWRUtNV3RMY2tSaFZXSjFiVmhyQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vYzg2YWRmOTctZjdjMS00MmRlLWFhZWYtYmI0MjQzZmM0OThlLmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzMyNAoKdXNlcnM6Ci0gbmFtZTogbGtlNzMyNC1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJa0pJTjJGQ2RXdDRSa3BTVURoeWJHTjVUVEpzU1dKbFVUZG5TMTlwVFU1TWJtdEJTekJoVFRaSldsRWlmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dGNIRjNjWE1pTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pTkdFelkyVmhOMk10TkRrM05pMDBNV1ZoTFRnelpEa3ROR1kxWWpBME9UVmpNbU0xSWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5Lno5SkpyQVAwY0lyYVotNWg1djlXWENfbW5TOGE2OHpBeG9JR2lBa2w2SnQ2SmNkejg1VmcwdFh5bVJseHl1T0VHbmxMeVpmQ3NxTFVzc3FDYkQ2SkFvNExqR2JqcFB3MmZLZXZMNEZJOU53aV85a0N4b2N5U0Z3M3g3cHUxaUJYOW0zbFNLYWtoZlE0NFJwOWhpNmU0RWdfcFlUbF9paVJqZWtsZ09CQnM1LURMOGZvVTMwR0x2ZlVJUkl1ODdKUG0xTHNFbzRfZ2J5cHJHdU5kdVBzdHkzZElHV0dWNjFTLW9RRGwwaVU2ZlpaZmxURnlKb1NrU21EUnlNa29mVHpzZzV4V2NyN29KZ0J4S2Jpa09HcklrYkMxbzZfUl9nVGk5RnY3cHBPN0lMMFJpZXNxbmpETXM5VEdYaUllOTlfS0c0RkFHNllqTTh5bEVBMzNrMTR5ZwoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTczMjQKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzMyNC1hZG1pbgogIG5hbWU6IGxrZTczMjQtY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTczMjQtY3R4Cg=="}' headers: Access-Control-Allow-Credentials: - "true" @@ -620,6 +483,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "3774" Content-Security-Policy: - default-src 'none' Content-Type: @@ -641,7 +508,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -657,7 +524,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76167 + url: https://api.linode.com/v4beta/lke/clusters/7324 method: DELETE response: body: '{}' @@ -674,6 +541,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -696,7 +565,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml index 15ff5b339..788d56cab 100644 --- a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml +++ b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-recycle","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-recycle","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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": + body: '{"id": 7322, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-recycle", "region": "us-east", + "k8s_version": "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: @@ -135,8 +148,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "244" + - "243" Content-Security-Policy: - default-src 'none' Content-Type: @@ -157,7 +172,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -173,7 +188,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76165/recycle + url: https://api.linode.com/v4beta/lke/clusters/7322/recycle method: POST response: body: '{}' @@ -190,6 +205,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -212,7 +229,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -228,7 +245,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76165 + url: https://api.linode.com/v4beta/lke/clusters/7322 method: DELETE response: body: '{}' @@ -245,6 +262,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -267,7 +286,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKECluster_Update.yaml b/test/integration/fixtures/TestLKECluster_Update.yaml index b61053636..f0589e0e0 100644 --- a/test/integration/fixtures/TestLKECluster_Update.yaml +++ b/test/integration/fixtures/TestLKECluster_Update.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-update","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-update","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7321, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-update", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "243" + - "242" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,14 +171,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"k8s_version":"1.23","label":"go-lke-test-update-updated","tags":["test=true"],"control_plane":{"high_availability":true}}' + body: '{"k8s_version":"1.29","label":"go-lke-test-update-updated","tags":["test=true"]}' form: {} headers: Accept: @@ -172,12 +187,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76164 + url: https://api.linode.com/v4beta/lke/clusters/7321 method: PUT response: - 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": + body: '{"id": 7321, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-update-updated", "region": "us-east", + "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["test=true"]}' headers: Access-Control-Allow-Credentials: @@ -192,6 +207,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "252" Content-Security-Policy: @@ -214,7 +231,67 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"control_plane":{"high_availability":true}}' + 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/7321 + method: PUT + response: + body: '{"id": 7321, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-update-updated", "region": "us-east", + "k8s_version": "1.29", "control_plane": {"high_availability": true}, "tags": + ["test=true"]}' + 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=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "251" + Content-Security-Policy: + - default-src 'none' + Content-Type: + - application/json + Server: + - nginx + Strict-Transport-Security: + - max-age=31536000 + Vary: + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - lke:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -230,7 +307,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76164 + url: https://api.linode.com/v4beta/lke/clusters/7321 method: DELETE response: body: '{}' @@ -247,6 +324,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -269,7 +348,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml index e3e6c0af3..409d8e3dc 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":3,"type":"g6-standard-2","disks":null,"tags":null}],"label":"go-lke-test-wait","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":3,"type":"g6-standard-2","disks":null,"tags":null}],"label":"go-lke-test-wait","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7332, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-wait", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "241" + - "240" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -172,48 +187,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - 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/76162/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -225,6 +199,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -240,8 +216,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -254,7 +230,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -266,6 +242,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -281,8 +259,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -295,7 +273,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -307,6 +285,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -322,8 +302,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -336,7 +316,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -348,6 +328,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -363,8 +345,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -377,7 +359,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -389,6 +371,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -404,8 +388,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -418,7 +402,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -430,6 +414,8 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' + Connection: + - keep-alive Content-Length: - "92" Content-Type: @@ -445,8 +431,8 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 503 Service Unavailable + - "400" + status: 503 SERVICE UNAVAILABLE code: 503 duration: "" - request: @@ -459,92 +445,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76162/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7332/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/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/76162/kubeconfig - method: GET - response: - body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVTXZha05EUVdWaFowRjNTVUpCWjBsQ1FVUkJUa0puYTNGb2EybEhPWGN3UWtGUmMwWkJSRUZXVFZKTmQwVlJXVVJXVVZGRVJYZHdjbVJYU213S1kyMDFiR1JIVm5wTlFqUllSRlJKZVUxVVFYaE5la1V5VFVSbmVrMUdiMWhFVkUxNVRWUkJlRTFFUlRKTlJHZDZUVVp2ZDBaVVJWUk5Ra1ZIUVRGVlJRcEJlRTFMWVROV2FWcFlTblZhV0ZKc1kzcERRMEZUU1hkRVVWbEtTMjlhU1doMlkwNUJVVVZDUWxGQlJHZG5SVkJCUkVORFFWRnZRMmRuUlVKQlRuVm1Da1JXZVRaQmNsUTFXbnA0VDB4UFRtbENVVEZRUVRZMlRqaEVVbGRyU2t0cVUwZEVhRUZ1VkVoc2VXWm5RMmd6TW1SbGRrOWhjMjVUVldKc1QxZzNlVThLVTFWTFYzQjBVRVl4VUZsNmEwUnZWakZwT1U1YU5FMTFNRW8yV1RsbFYyRTBkMjF4VDJSdlF6aFVaMlV5YlVKVVVHSmhZM0ZyUWxoV2RuQk5SaTlMWXdvM1dXMUpOMUZwWjNaaWFtSmFkWFI1UVdjNU5WZzVZazlaT0VWVGVXOXlUMGxzVUdkemVsTkJUbHBrYzNKU1dITjNiVGQ1UjFKR1pHcGllVmRyZG1wQkNqRkhURzF6VldkeWVERjJTM1ZsWkRaSlNrUlVia1ZUUVhkWE5IbFJXa1JCZGxwb1oxYzBZU3RaTkRoUldtMURjblZYT1doQ1RIcEdhV0pIYVZWWWExY0tTWFo0YmpKSGVIZzNSRWx2Y0dkck5HOWpTMFJMYUVad2FEbFRSRlZ5YzBoNFJVWTRSR1pwWVdwYVZEbE1ORUo1WjJ4VlpGWjRjVklyVjJWdFVFSk1kUXBPVFVWSllVRkRWazlRTUVwaGRVTXhaQzlqUTBGM1JVRkJZVTVhVFVaamQwUm5XVVJXVWpCUVFWRklMMEpCVVVSQlowdHJUVUU0UjBFeFZXUkZkMFZDQ2k5M1VVWk5RVTFDUVdZNGQwaFJXVVJXVWpCUFFrSlpSVVpOVVVFeVdsRXJSRVJwYTNkWWIwZDNiVkpqTkN0b1R6UllSM0pOUWxWSFFURlZaRVZSVVU4S1RVRjVRME50ZERGWmJWWjVZbTFXTUZwWVRYZEVVVmxLUzI5YVNXaDJZMDVCVVVWTVFsRkJSR2RuUlVKQlRHZHpaekpzU25ac2VqTnlZalUyT0ZsRUt3cFBkVlpKU0ZkV1IxTmhjemhRY1RWbWVVOHpSMGRIWWtreVpFTk1NQ3RQUVV4eGFWbExRWHBhYlZWeFRVVk9Talp2VVdselVYVkhWWG9yTjFKYVlsQnpDbE5IUW14T01ERnJVMGRzUXk5TmNVbENXR2hyY25WdWJsVkpXVGxWVmtKTVREaEtVRWhEUlhkd2J6RkVURGhqVjFSSU4xVlRVQzlqWjI5bGRIaFZjVm9LYjNGSVRUTlljRmhxY3prNWVVZFhTRzlEYjI1cVVrTmhiMFkzV1M4MlFVRnhkbWRXUkZwM2JUWlRSM1EyYm1odmNFcEVPVkJEVUZkMVppOTRkbU12UWdwRmJXTlVXVkpyU3pSTFJuVmFiVlZZZUZGbGVIUXljMGg2VmtWTGNIRnlWM05hVTNaeVkwZDRkbU4zVTA0MWF6WnNjRUZ3VjNSUFJ6a3dZMWxIY2s1eENtUm5URzExV1ZFMWNtOXVjbTl6VlVGaGRDOVpOR2QwVW5KQ01sUkhUMW81Y0VoNU9XNURNamxIVjJKclkwNWtLMmwwVkRKM2NWaGtaMEpTZWtOWmNuQUtjRW93UFFvdExTMHRMVVZPUkNCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2c9PQogICAgc2VydmVyOiBodHRwczovLzE0NmQwZTI3LWNjM2YtNGMwOS1hNTBjLWExYjEzOGZhMDQzYi5hcC13ZXN0LTIubGlub2RlbGtlLm5ldDo0NDMKICBuYW1lOiBsa2U3NjE2MgoKdXNlcnM6Ci0gbmFtZTogbGtlNzYxNjItYWRtaW4KICB1c2VyOgogICAgYXMtdXNlci1leHRyYToge30KICAgIHRva2VuOiBleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWpBM1ZWWXdYMVpUUVRFeVZtdE5OQzFZVW1aa0xWUnRMVlI1WlRWNlZqTXdTV1pqTTBJMGFVMTROVVVpZlEuZXlKcGMzTWlPaUpyZFdKbGNtNWxkR1Z6TDNObGNuWnBZMlZoWTJOdmRXNTBJaXdpYTNWaVpYSnVaWFJsY3k1cGJ5OXpaWEoyYVdObFlXTmpiM1Z1ZEM5dVlXMWxjM0JoWTJVaU9pSnJkV0psTFhONWMzUmxiU0lzSW10MVltVnlibVYwWlhNdWFXOHZjMlZ5ZG1salpXRmpZMjkxYm5RdmMyVmpjbVYwTG01aGJXVWlPaUpzYTJVdFlXUnRhVzR0ZEc5clpXNHRPVGxvYlRraUxDSnJkV0psY201bGRHVnpMbWx2TDNObGNuWnBZMlZoWTJOdmRXNTBMM05sY25acFkyVXRZV05qYjNWdWRDNXVZVzFsSWpvaWJHdGxMV0ZrYldsdUlpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl6WlhKMmFXTmxMV0ZqWTI5MWJuUXVkV2xrSWpvaU5EVmhNak5oTkRndFpHVTFPQzAwWVdFMkxUbGpZVE10TXpabU9URXlOakV5WldFeElpd2ljM1ZpSWpvaWMzbHpkR1Z0T25ObGNuWnBZMlZoWTJOdmRXNTBPbXQxWW1VdGMzbHpkR1Z0T214clpTMWhaRzFwYmlKOS5DcDcxZlRCTlRVTUJOY2RINFk0RmtaZ2RRUV83dWktNlp2T2hYSU5KeWota3Jmb3VMZVNUdnl6d1ZTdDNTQlB3NmJYMmVrRVlWamRwb251TUREMnFyNmM4eTR6VWpkclpzdzR2TGd0WWJob1djN1V2YURlLWpMUjRhZ1p3RWlFem90ZDRNVVZEb1hfWEpVb2pTUV8yRWM4MTdlbktJSHVQMjFGdzloblpsNWUtY01HSUlBVTVqMzAxZ1B6cjFFVXJaSXVCTjJZRU1oNFVRcmlObVVtYTRRaFFzTDVlT1RlZG82SVBNa3o1MGdxc201STVZdFhReU1JTFQ4bjlpR3FWeFlZM0hqbENVRWVjSFdTNHVaVUhZc1B2OE1fVXdOSlBWdC1qcGVLYXdTNmMtMFBaX2w0Wm5ITHJibXBaTzktejQ5QzJmSW1vX0JFTmpEQ2N2T2FkT0EKCmNvbnRleHRzOgotIGNvbnRleHQ6CiAgICBjbHVzdGVyOiBsa2U3NjE2MgogICAgbmFtZXNwYWNlOiBkZWZhdWx0CiAgICB1c2VyOiBsa2U3NjE2Mi1hZG1pbgogIG5hbWU6IGxrZTc2MTYyLWN0eAoKY3VycmVudC1jb250ZXh0OiBsa2U3NjE2Mi1jdHgK"}' + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlV6TnJkRW9yY25kSGVVVjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk1VMVVVWGhQVkVsNVRWUkdZVVozTUhwT1JFRXhUVlJKZUU5VVNUTk5WRVpoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVUnJLMHMxY0dzNVExWnBRbGRRYTA5M2RucENkbTVDTUhaV1JUUmlWM28wZG5OVmVIQTRUVVExU0ZWUWJucFlkVEV6ZHpFMFVtRnFVM2NLZDNkU05rMU5iR1I0UVhOWk1pOVBVbmc1VTFOR01WRXdTSGhuU2pCR2VIbGxTV3BwZVZnclRWSmxiMmxCV0M4MlpFTnZZVEJwZFZkNFNGaHlTRGRVWmdwRFkzY3lOekpOVTFCMmNDdHdWVmtyYWxCd2MxTlBMMlJNTUVsbk5URnhjVmxEYVhSMk4xbG9WRWQwVVVSWGExWkxRMEpZVFRKMWNGSmpTbU5qVldSWUNqVkxhV0ZZYTFaWlJVaFhhbmxRYjBkeWNHUlNVemhxVEZabEwzRXhha1JaSzJKRFVIRm9kVU0zZVV0aVEyUjNjelJPUVd0U05WQlhjMUJGWm5WSFVVd0tPVFZFY0hsUWVuSklUVkJoY2tsdlV5dGhUVU5FYzFKUFYwMUlNVTlyVjJwS1JEQkdWMVkwT0RZeVdEZGpNRzVCYVV0TU1FRkZORGxpYmxaSGNHUlVOQXBDUlZoU09ETTVUM0ZsYldwTFozVmFjME5oVXpKcGVHTnlPRzFvUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pUWTNkUGFEWTJlVFpXTlVZek5FeFVSbGwzV0dsRVprWmhMM0JxUVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlFrNXNSSGh1TmtwM1pnb3lVV2QzWldwdlRqQklaRkphY0hFMmFUSnpNV1ZpTjNaVFVXUndTMW8zT0dSNU9XMHhZekZSV2toMlFUaHZUbTkyWVZKWk1rdG9ObEZwTmpoNGFEVmhDbEZWUVRoeVVHaGhUV1JvTWtGME56ZFpVQzlJVGsxeFFraEhZVzUxWTBSblJtbHBhVk13WTJsTVVHRlNPVkE1ZWsxTFdqZEpWRkYzVG5sMmQzUnJhR0lLTDNsMU1tMHZjbkpxZWtkUWFEaGlOV1pIYzJrd1FWaEhLM2R1UVRWMWJFOUhXVWxKUzFreVQyMVNUVTB3U0N0WVkwSTNWRXRYWmxGeFNtWldVVWRIYXdvMFFVRm1jV3hXU0RkMlJVTldSa1ppVmxWM04xcFBUMkZVU0RSQlRITnhWekp0VVdRMFdqSkxTRFY1ZWl0Vk1GcGhWRGs1VjJoUE5XMU1MMUJ1WVdsWUNtVm1VbmhGTkRSWVlXWlFSbTR6VjJkdU5qTTNaMGxwZGtkSlZpdHFOM0pPU1hkQ016bFhVVkJDTlVkMk1VUm1NMUJDTldSclRURkVWWGwyWkVFelF6WUtUalYwZEdobWJVeDVVVXAxQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vZTNjNjcyZmEtZWRhNC00N2RjLTkwNzMtMjgyYTVjY2ZkYmMwLmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzMzMgoKdXNlcnM6Ci0gbmFtZTogbGtlNzMzMi1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJa3MxVW5oM1RsZHNjVU5OUlhkTWMxaEVMVWhuTFVFMWIyUTVXR3BrZFZsV01td3lXbFJmUm10Zk5XTWlmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dGJXWjBjV01pTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pTTJRek1EaGxNMll0TVdJMU5DMDBaV1poTFdFMVlUVXROVEUwTVRRME5USmxPV1l3SWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5LmxIbXEtWVo5U2ZHU0tqaFVsZWF4YVpwRTlVQ3JScnE0d0JOVWZlZlZYOFBhRnRRd0V1THVHX3NXRlZFUnVQc3k3QVdxX1h4aFJjSTVmdlNPN2IyRGVyWERncWF5SHU0bk1LcXdINk52cFpZblVTN0hkeWJMZ3dRSmlyclVFdzQ2YW5WSDNWTk9KOGIyQ3N1TE50MUFNZTdYNmQzSXU3MTVCOWU4ZjJkTVQ2dmd6R0h5YjBxN0Z6ZloxY3pKYjl5dHotWndVMUhpRzdSN1c5ZjY4OTBSZG1idnlKcXE5X3lxRElXbkUtSWJESG5uVGtqSXM5NWM0OTBWYnBwQlQ0QmtfSGNHNW50dmRCY0FYT3NlYXZKMGdqYlVmNG1OZk9BN3VSVkp4Um1wQ2dSc3NwaGxtX3lQSkVTSEhPWVJTLWdWRkVFc3FyYzhkel8wekNWanh2ZE5mZwoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTczMzIKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzMzMi1hZG1pbgogIG5hbWU6IGxrZTczMzItY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTczMzItY3R4Cg=="}' headers: Access-Control-Allow-Credentials: - "true" @@ -559,6 +463,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "3774" Content-Security-Policy: - default-src 'none' Content-Type: @@ -580,7 +488,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -596,7 +504,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76162 + url: https://api.linode.com/v4beta/lke/clusters/7332 method: DELETE response: body: '{}' @@ -613,6 +521,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -635,7 +545,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml index d44c8c708..882e21e20 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml @@ -7,14 +7,393 @@ interactions: headers: Accept: - application/json, */* - url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"459"},"items":[]} + headers: + Audit-Id: + - f62ac6df-94f2-428e-8229-d8be979f88b2 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"464"},"items":[]} + headers: + Audit-Id: + - 44b9410f-d017-4e95-b667-1b92f15a837c + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"468"},"items":[]} + headers: + Audit-Id: + - dce0dbc3-43b5-4536-a343-a1b2a5ee54db + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"473"},"items":[]} + headers: + Audit-Id: + - 8820efd0-5e7c-4288-b195-ba9848770904 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"476"},"items":[]} + headers: + Audit-Id: + - e8c2f6de-ce04-4251-beda-0adf63a54bf1 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"482"},"items":[]} + headers: + Audit-Id: + - d577a50f-cbfb-4166-bdc1-e8fc068bef1d + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"485"},"items":[]} + headers: + Audit-Id: + - 0fc31923-50e5-4d57-99bc-7c5953ae22d6 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"491"},"items":[]} + headers: + Audit-Id: + - e2c33679-0281-4185-a577-fefda3fababc + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"501"},"items":[]} + headers: + Audit-Id: + - 39b02dc2-0e01-4489-8913-06f864ac0021 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"504"},"items":[]} + headers: + Audit-Id: + - 388890ae-974f-4706-be7d-7743040edea1 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"518"},"items":[]} + headers: + Audit-Id: + - 0bf221d0-805d-4c82-8fd8-a2acae36649b + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"521"},"items":[]} + headers: + Audit-Id: + - b79259ea-1acb-449c-a53f-46da2dc830cf + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"527"},"items":[]} + headers: + Audit-Id: + - c22831e3-9541-40b7-a88a-dc70a07f8f4e + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"530"},"items":[]} headers: Audit-Id: - - 9fe3b0b9-6be8-4bc5-8fb5-a5de89ad0ad2 + - 6ee13253-37cb-4122-8b9a-11cd0f6e8efb Cache-Control: - no-cache, private Content-Length: @@ -22,9 +401,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 + - affd9597-fa49-4927-ac33-19f7f8bb16ea X-Kubernetes-Pf-Prioritylevel-Uid: - - 3833eb11-2ae9-4b3a-991a-57858f5ff927 + - b4189e81-3f07-47e7-9092-805f9b1eb04b status: 200 OK code: 200 duration: "" @@ -34,14 +413,16 @@ interactions: headers: Accept: - application/json, */* - url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"537"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"536"},"items":[]} headers: Audit-Id: - - bd644c7a-ec95-4b9e-a395-a36236651512 + - c2e609f4-f046-481d-b485-3eebc09955c8 Cache-Control: - no-cache, private Content-Length: @@ -49,9 +430,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 + - affd9597-fa49-4927-ac33-19f7f8bb16ea X-Kubernetes-Pf-Prioritylevel-Uid: - - 3833eb11-2ae9-4b3a-991a-57858f5ff927 + - b4189e81-3f07-47e7-9092-805f9b1eb04b status: 200 OK code: 200 duration: "" @@ -61,24 +442,285 @@ interactions: headers: Accept: - application/json, */* - url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"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"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"539"},"items":[]} headers: Audit-Id: - - c2e927b3-b829-4d55-bb47-1d1c74de2e5e + - dc878b37-4fb4-430d-88ac-1199d0b7ce2d Cache-Control: - no-cache, private Content-Length: - - "4086" + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"545"},"items":[]} + headers: + Audit-Id: + - be4e1e02-cdfc-4ed7-9510-11207ad723a6 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"548"},"items":[]} + headers: + Audit-Id: + - cbcb96c1-c8f5-45d0-b8e1-4ef236ed2055 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"557"},"items":[]} + headers: + Audit-Id: + - 5a7b70bb-fd98-43d9-ab28-6250147888eb + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"561"},"items":[]} + headers: + Audit-Id: + - aa649de5-65ba-42db-8091-155808014cd2 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"572"},"items":[]} + headers: + Audit-Id: + - f635c3f2-d083-4a88-9f30-4ae48a7465af + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"576"},"items":[]} + headers: + Audit-Id: + - 458fe0ef-2880-4dd6-a274-025821aed876 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"580"},"items":[]} + headers: + Audit-Id: + - 084dd604-0f90-498c-a143-fa69090495ce + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"585"},"items":[]} + headers: + Audit-Id: + - 50940564-40f8-463e-b8a0-a9caa69c9efc + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - affd9597-fa49-4927-ac33-19f7f8bb16ea + X-Kubernetes-Pf-Prioritylevel-Uid: + - b4189e81-3f07-47e7-9092-805f9b1eb04b + status: 200 OK + code: 200 + duration: "" +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"692"},"items":[{"metadata":{"name":"lke7332-7625-1d36641e0000","uid":"f8b1330f-9fa7-4a84-87bc-84b2543952c9","resourceVersion":"690","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-1d36641e0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"03530127a19b0fa7234dec4175db15f25a2adce1","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"KUkgkub2ZfreyuEcAahFdlg2DIZSGo7M0dECXoc/SyQ=","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/25\"":{}}}}},{"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","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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"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"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25165073","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-1d36641e0000"},{"type":"ExternalIP","address":"143.42.180.29"},{"type":"InternalIP","address":"192.168.242.142"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"48a14acdf6264f63af861d99d40ac5ef","systemUUID":"48a14acdf6264f63af861d99d40ac5ef","bootID":"cfba2c5c-478e-4e85-b799-303c4616fac6","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7332-7625-4527543a0000","uid":"516732da-143b-440c-8502-fc0268bb29c8","resourceVersion":"692","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4527543a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"j1OfGU8UZrb0sB9sOxAL5LQrbtLlw764KCTlKonJPkQ=","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.128/25\"":{}}}}},{"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":"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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"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.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25165072","taints":[{"key":"lke.linode.com/labels-taints","value":"waiting","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-4527543a0000"},{"type":"ExternalIP","address":"143.42.180.26"},{"type":"InternalIP","address":"192.168.242.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4a8a5f365882450c998d4bab09f3d16d","systemUUID":"4a8a5f365882450c998d4bab09f3d16d","bootID":"51ee1328-0a18-43b8-afbe-f885df286956","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}}]} + headers: + Audit-Id: + - 88e4558e-a0bc-4c3c-8f1c-389519382a3d + Cache-Control: + - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 + - affd9597-fa49-4927-ac33-19f7f8bb16ea X-Kubernetes-Pf-Prioritylevel-Uid: - - 3833eb11-2ae9-4b3a-991a-57858f5ff927 + - b4189e81-3f07-47e7-9092-805f9b1eb04b status: 200 OK code: 200 duration: "" @@ -88,22 +730,24 @@ interactions: headers: Accept: - application/json, */* - url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"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"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"776"},"items":[{"metadata":{"name":"lke7332-7625-1d36641e0000","uid":"f8b1330f-9fa7-4a84-87bc-84b2543952c9","resourceVersion":"714","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-1d36641e0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"03530127a19b0fa7234dec4175db15f25a2adce1","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"KUkgkub2ZfreyuEcAahFdlg2DIZSGo7M0dECXoc/SyQ=","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/25\"":{}}}}},{"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","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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"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":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}},{"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.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25165073","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-1d36641e0000"},{"type":"ExternalIP","address":"143.42.180.29"},{"type":"InternalIP","address":"192.168.242.142"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"48a14acdf6264f63af861d99d40ac5ef","systemUUID":"48a14acdf6264f63af861d99d40ac5ef","bootID":"cfba2c5c-478e-4e85-b799-303c4616fac6","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7332-7625-4527543a0000","uid":"516732da-143b-440c-8502-fc0268bb29c8","resourceVersion":"729","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4527543a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"j1OfGU8UZrb0sB9sOxAL5LQrbtLlw764KCTlKonJPkQ=","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.128/25\"":{}}}}},{"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":"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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"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":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}},{"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.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25165072","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-4527543a0000"},{"type":"ExternalIP","address":"143.42.180.26"},{"type":"InternalIP","address":"192.168.242.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4a8a5f365882450c998d4bab09f3d16d","systemUUID":"4a8a5f365882450c998d4bab09f3d16d","bootID":"51ee1328-0a18-43b8-afbe-f885df286956","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7332-7625-4f06fd870000","uid":"e0b3532b-5c5a-46fe-8572-4242b2b03eab","resourceVersion":"760","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4f06fd870000","kubernetes.io/os":"linux","node.k8s.linode.com/host-uuid":"2e8c6f5e2c38ef3261c570ae22ac2b65435af20b","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.1.0/25","podCIDRs":["10.2.1.0/25"],"providerID":"linode://25165074","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026152Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923752Ki","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:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-4f06fd870000"},{"type":"ExternalIP","address":"143.42.180.43"},{"type":"InternalIP","address":"192.168.242.145"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4074f1da59194890903e3b9edf941d4c","systemUUID":"4074f1da59194890903e3b9edf941d4c","bootID":"d3aeff59-4c5f-433a-91d4-179a46f17743","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - - d4320a17-b045-4c19-8e9b-4c2706a7aad1 + - 97b041e7-0cae-4c35-b4c2-0dca54e5220e Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 + - affd9597-fa49-4927-ac33-19f7f8bb16ea X-Kubernetes-Pf-Prioritylevel-Uid: - - 3833eb11-2ae9-4b3a-991a-57858f5ff927 + - b4189e81-3f07-47e7-9092-805f9b1eb04b status: 200 OK code: 200 duration: "" @@ -113,22 +757,24 @@ interactions: headers: Accept: - application/json, */* - url: https://146d0e27-cc3f-4c09-a50c-a1b138fa043b.ap-west-2.linodelke.net:443/api/v1/nodes + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"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"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"894"},"items":[{"metadata":{"name":"lke7332-7625-1d36641e0000","uid":"f8b1330f-9fa7-4a84-87bc-84b2543952c9","resourceVersion":"892","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-1d36641e0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"03530127a19b0fa7234dec4175db15f25a2adce1","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east","topology.linode.com/region":"us-east"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"linodebs.csi.linode.com\":\"25165073\"}","kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"KUkgkub2ZfreyuEcAahFdlg2DIZSGo7M0dECXoc/SyQ=","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/25\"":{}}}}},{"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","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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"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:metadata":{"f:annotations":{"f:csi.volume.kubernetes.io/nodeid":{}},"f:labels":{"f:topology.linode.com/region":{}}},"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/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25165073"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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":"lke7332-7625-1d36641e0000"},{"type":"ExternalIP","address":"143.42.180.29"},{"type":"InternalIP","address":"192.168.242.142"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"48a14acdf6264f63af861d99d40ac5ef","systemUUID":"48a14acdf6264f63af861d99d40ac5ef","bootID":"cfba2c5c-478e-4e85-b799-303c4616fac6","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["docker.io/calico/cni@sha256:a38d53cb8688944eafede2f0eadc478b1b403cefeff7953da57fe9cd2d65e977","docker.io/calico/cni:v3.25.0"],"sizeBytes":87984941},{"names":["docker.io/bitnami/kubectl@sha256:c4a8d9c0cd9c5f903830ea64816c83adf307ff1d775bc3e5b77f1d49d3960205","docker.io/bitnami/kubectl:1.16.3-debian-10-r36"],"sizeBytes":65850129},{"names":["docker.io/linode/kube-proxy-amd64@sha256:1b0dd4309665fc3803e4a617cd777a8437fc7d18c4604988c6bd68176bbeb17a","docker.io/linode/kube-proxy-amd64:v1.28.9"],"sizeBytes":28114606},{"names":["docker.io/linode/linode-blockstorage-csi-driver@sha256:944e3e6351ca3186e5d8faf0a1b9765c4d759903617f7d5cc1086d58d7c7dd97"],"sizeBytes":13754364},{"names":["docker.io/linode/csi-node-driver-registrar@sha256:9622c6a6dac7499a055a382930f4de82905a3c5735c0753f7094115c9c871309","docker.io/linode/csi-node-driver-registrar:v1.3.0"],"sizeBytes":7717137},{"names":["docker.io/calico/pod2daemon-flexvol@sha256:01ddd57d428787b3ac689daa685660defe4bd7810069544bd43a9103a7b0a789","docker.io/calico/pod2daemon-flexvol:v3.25.0"],"sizeBytes":7076045},{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7332-7625-4527543a0000","uid":"516732da-143b-440c-8502-fc0268bb29c8","resourceVersion":"838","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4527543a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"j1OfGU8UZrb0sB9sOxAL5LQrbtLlw764KCTlKonJPkQ=","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.128/25\"":{}}}}},{"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":"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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"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":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25165072"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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":"lke7332-7625-4527543a0000"},{"type":"ExternalIP","address":"143.42.180.26"},{"type":"InternalIP","address":"192.168.242.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4a8a5f365882450c998d4bab09f3d16d","systemUUID":"4a8a5f365882450c998d4bab09f3d16d","bootID":"51ee1328-0a18-43b8-afbe-f885df286956","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7332-7625-4f06fd870000","uid":"e0b3532b-5c5a-46fe-8572-4242b2b03eab","resourceVersion":"878","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4f06fd870000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"2e8c6f5e2c38ef3261c570ae22ac2b65435af20b","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.3","lke.linode.com/wgpub":"A6JTx7Cd15edQ0VDt5m6lpfIh0Lky8mGq6O+dQan+2k=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"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"},{"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/25\"":{}},"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.1.0/25","podCIDRs":["10.2.1.0/25"],"providerID":"linode://25165074","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoExecute","timeAdded":"2018-01-02T03:04:05Z"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026152Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923752Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-4f06fd870000"},{"type":"ExternalIP","address":"143.42.180.43"},{"type":"InternalIP","address":"192.168.242.145"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4074f1da59194890903e3b9edf941d4c","systemUUID":"4074f1da59194890903e3b9edf941d4c","bootID":"d3aeff59-4c5f-433a-91d4-179a46f17743","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - - 427f611f-4216-4a80-b6d9-53d892a8d6df + - 725b3866-37c9-45f8-90ef-633f30782a96 Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - 89083a2b-4ffe-48eb-ba1a-e2ca012cadd7 + - affd9597-fa49-4927-ac33-19f7f8bb16ea X-Kubernetes-Pf-Prioritylevel-Uid: - - 3833eb11-2ae9-4b3a-991a-57858f5ff927 + - b4189e81-3f07-47e7-9092-805f9b1eb04b status: 200 OK code: 200 duration: "" diff --git a/test/integration/fixtures/TestLKEClusters_List.yaml b/test/integration/fixtures/TestLKEClusters_List.yaml index 10efced1e..e3ac3dbbf 100644 --- a/test/integration/fixtures/TestLKEClusters_List.yaml +++ b/test/integration/fixtures/TestLKEClusters_List.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-list","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-list","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7326, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "241" + - "240" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -175,9 +190,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: GET response: - 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": + body: '{"data": [{"id": 7326, "status": "ready", "created": "2018-01-02T03:04:05", + "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "us-east", + "k8s_version": "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -193,8 +208,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "290" + - "289" Content-Security-Policy: - default-src 'none' Content-Type: @@ -216,7 +233,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -232,7 +249,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76169 + url: https://api.linode.com/v4beta/lke/clusters/7326 method: DELETE response: body: '{}' @@ -249,6 +266,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -271,7 +290,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml b/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml index b4d380565..088f4a974 100644 --- a/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml +++ b/test/integration/fixtures/TestLKENodePoolNode_Delete.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7329, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "240" + - "239" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -172,13 +187,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76172/pools + url: https://api.linode.com/v4beta/lke/clusters/7329/pools method: POST response: - 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"]}' + body: '{"id": 7621, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7621-05d83c170000", + "instance_id": null, "status": "not_ready"}, {"id": "7621-4bee65fd0000", "instance_id": + null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": + {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"], "disk_encryption": + "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -192,8 +208,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "334" + - "354" Content-Security-Policy: - default-src 'none' Content-Type: @@ -214,7 +232,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -230,7 +248,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76172/nodes/118362-63483a962f5f + url: https://api.linode.com/v4beta/lke/clusters/7329/nodes/7621-05d83c170000 method: DELETE response: body: '{}' @@ -247,6 +265,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -269,7 +289,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -285,12 +305,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76172/pools/118362 + url: https://api.linode.com/v4beta/lke/clusters/7329/pools/7621 method: GET response: - 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"]}' + body: '{"id": 7621, "type": "g6-standard-2", "count": 1, "nodes": [{"id": "7621-4bee65fd0000", + "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": + "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"], + "disk_encryption": "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -305,8 +326,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "259" + - "281" Content-Security-Policy: - default-src 'none' Content-Type: @@ -328,7 +351,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -344,7 +367,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76172/pools/118362 + url: https://api.linode.com/v4beta/lke/clusters/7329/pools/7621 method: DELETE response: body: '{}' @@ -361,6 +384,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -383,7 +408,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -399,7 +424,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76172 + url: https://api.linode.com/v4beta/lke/clusters/7329 method: DELETE response: body: '{}' @@ -416,6 +441,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -438,7 +465,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKENodePool_GetFound.yaml b/test/integration/fixtures/TestLKENodePool_GetFound.yaml index bec222748..4f192fdcd 100644 --- a/test/integration/fixtures/TestLKENodePool_GetFound.yaml +++ b/test/integration/fixtures/TestLKENodePool_GetFound.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7327, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "240" + - "239" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -172,13 +187,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76170/pools + url: https://api.linode.com/v4beta/lke/clusters/7327/pools method: POST response: - body: '{"id": 118358, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118358-63483a5f4cbe", - "instance_id": null, "status": "not_ready"}, {"id": "118358-63483a601b59", "instance_id": + body: '{"id": 7617, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7617-24ef62820000", + "instance_id": null, "status": "not_ready"}, {"id": "7617-49656cd60000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' + {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"], "disk_encryption": + "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -192,8 +208,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "330" + - "354" Content-Security-Policy: - default-src 'none' Content-Type: @@ -214,7 +232,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -230,13 +248,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76170/pools/118358 + url: https://api.linode.com/v4beta/lke/clusters/7327/pools/7617 method: GET response: - 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"]}' + body: '{"id": 7617, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7617-24ef62820000", + "instance_id": null, "status": "not_ready"}, {"id": "7617-49656cd60000", "instance_id": + null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": + {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"], "disk_encryption": + "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -251,8 +270,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "334" + - "354" Content-Security-Policy: - default-src 'none' Content-Type: @@ -274,7 +295,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -290,7 +311,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76170/pools/118358 + url: https://api.linode.com/v4beta/lke/clusters/7327/pools/7617 method: DELETE response: body: '{}' @@ -307,6 +328,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -329,7 +352,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -345,7 +368,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76170 + url: https://api.linode.com/v4beta/lke/clusters/7327 method: DELETE response: body: '{}' @@ -362,6 +385,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -384,7 +409,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKENodePool_GetMissing.yaml b/test/integration/fixtures/TestLKENodePool_GetMissing.yaml index 8f1c91bf1..29032c0fc 100644 --- a/test/integration/fixtures/TestLKENodePool_GetMissing.yaml +++ b/test/integration/fixtures/TestLKENodePool_GetMissing.yaml @@ -24,6 +24,8 @@ interactions: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "37" Content-Type: @@ -39,7 +41,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 404 Not Found + - "400" + status: 404 NOT FOUND code: 404 duration: "" diff --git a/test/integration/fixtures/TestLKENodePool_Update.yaml b/test/integration/fixtures/TestLKENodePool_Update.yaml index 5eadb3537..e605c8db9 100644 --- a/test/integration/fixtures/TestLKENodePool_Update.yaml +++ b/test/integration/fixtures/TestLKENodePool_Update.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7330, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "240" + - "239" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -172,13 +187,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76173/pools + url: https://api.linode.com/v4beta/lke/clusters/7330/pools method: POST response: - body: '{"id": 118365, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118365-63483ab318f8", - "instance_id": null, "status": "not_ready"}, {"id": "118365-63483ab3eaa0", "instance_id": + body: '{"id": 7623, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7623-10677a820000", + "instance_id": null, "status": "not_ready"}, {"id": "7623-168dfd9c0000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' + {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"], "disk_encryption": + "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -192,8 +208,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "330" + - "354" Content-Security-Policy: - default-src 'none' Content-Type: @@ -214,7 +232,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -230,13 +248,13 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 + url: https://api.linode.com/v4beta/lke/clusters/7330/pools/7623 method: PUT response: - 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": []}' + body: '{"id": 7623, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7623-10677a820000", + "instance_id": null, "status": "not_ready"}, {"id": "7623-168dfd9c0000", "instance_id": + null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": + {"enabled": true, "min": 2, "max": 5}, "tags": [], "disk_encryption": "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -250,8 +268,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "328" + - "344" Content-Security-Policy: - default-src 'none' Content-Type: @@ -272,7 +292,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -288,15 +308,15 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 + url: https://api.linode.com/v4beta/lke/clusters/7330/pools/7623 method: PUT response: - 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"]}' + body: '{"id": 7623, "type": "g6-standard-2", "count": 3, "nodes": [{"id": "7623-10677a820000", + "instance_id": null, "status": "not_ready"}, {"id": "7623-168dfd9c0000", "instance_id": + null, "status": "not_ready"}, {"id": "7623-354bf7970000", "instance_id": null, + "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": + {"enabled": true, "min": 2, "max": 5}, "tags": ["bar", "foo", "test"], "disk_encryption": + "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -310,8 +330,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "423" + - "437" Content-Security-Policy: - default-src 'none' Content-Type: @@ -332,7 +354,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -348,7 +370,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76173/pools/118365 + url: https://api.linode.com/v4beta/lke/clusters/7330/pools/7623 method: DELETE response: body: '{}' @@ -365,6 +387,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -387,7 +411,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -403,7 +427,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76173 + url: https://api.linode.com/v4beta/lke/clusters/7330 method: DELETE response: body: '{}' @@ -420,6 +444,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -442,7 +468,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKENodePools_List.yaml b/test/integration/fixtures/TestLKENodePools_List.yaml index a9e31d6ed..95e35bffa 100644 --- a/test/integration/fixtures/TestLKENodePools_List.yaml +++ b/test/integration/fixtures/TestLKENodePools_List.yaml @@ -14,56 +14,65 @@ interactions: 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", + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", + "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "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}' + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' headers: Access-Control-Allow-Credentials: - "true" @@ -78,6 +87,10 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 + Connection: + - keep-alive + Content-Length: + - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -99,14 +112,14 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"ap-west","k8s_version":"1.23","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"us-east","k8s_version":"1.28","tags":["testing"]}' form: {} headers: Accept: @@ -118,9 +131,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - 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"]}' + body: '{"id": 7328, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "us-east", "k8s_version": + "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -134,8 +147,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "240" + - "239" Content-Security-Policy: - default-src 'none' Content-Type: @@ -156,7 +171,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -172,13 +187,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76171/pools + url: https://api.linode.com/v4beta/lke/clusters/7328/pools method: POST response: - body: '{"id": 118360, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "118360-63483a7a95f3", - "instance_id": null, "status": "not_ready"}, {"id": "118360-63483a7b6526", "instance_id": + body: '{"id": 7619, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7619-0a55a93c0000", + "instance_id": null, "status": "not_ready"}, {"id": "7619-5f31de190000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"]}' + {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"], "disk_encryption": + "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -192,8 +208,10 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "330" + - "354" Content-Security-Policy: - default-src 'none' Content-Type: @@ -214,7 +232,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -230,17 +248,18 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76171/pools + url: https://api.linode.com/v4beta/lke/clusters/7328/pools method: GET response: - 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": 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}' + body: '{"data": [{"id": 7618, "type": "g6-standard-2", "count": 1, "nodes": [{"id": + "7618-08ab67bd0000", "instance_id": null, "status": "not_ready"}], "disks": + [], "autoscaler": {"enabled": false, "min": 1, "max": 1}, "tags": ["test"], + "disk_encryption": "enabled"}, {"id": 7619, "type": "g6-standard-2", "count": + 2, "nodes": [{"id": "7619-0a55a93c0000", "instance_id": null, "status": "not_ready"}, + {"id": "7619-5f31de190000", "instance_id": null, "status": "not_ready"}], "disks": + [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, + "max": 2}, "tags": ["testing"], "disk_encryption": "enabled"}], "page": 1, "pages": + 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" @@ -255,8 +274,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "611" + - "653" Content-Security-Policy: - default-src 'none' Content-Type: @@ -278,7 +299,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -294,7 +315,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76171/pools/118360 + url: https://api.linode.com/v4beta/lke/clusters/7328/pools/7619 method: DELETE response: body: '{}' @@ -311,6 +332,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -333,7 +356,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK @@ -349,7 +372,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/76171 + url: https://api.linode.com/v4beta/lke/clusters/7328 method: DELETE response: body: '{}' @@ -366,6 +389,8 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -388,7 +413,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKEVersion_GetFound.yaml b/test/integration/fixtures/TestLKEVersion_GetFound.yaml index d0d43a66a..6ee093870 100644 --- a/test/integration/fixtures/TestLKEVersion_GetFound.yaml +++ b/test/integration/fixtures/TestLKEVersion_GetFound.yaml @@ -11,10 +11,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/versions/1.23 + url: https://api.linode.com/v4beta/lke/versions/1.29 method: GET response: - body: '{"id": "1.23"}' + body: '{"id": "1.29"}' headers: Access-Control-Allow-Credentials: - "true" @@ -29,6 +29,8 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - "14" Content-Security-Policy: @@ -52,7 +54,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/fixtures/TestLKEVersion_GetMissing.yaml b/test/integration/fixtures/TestLKEVersion_GetMissing.yaml index 0a010bd2c..c81d58aba 100644 --- a/test/integration/fixtures/TestLKEVersion_GetMissing.yaml +++ b/test/integration/fixtures/TestLKEVersion_GetMissing.yaml @@ -24,6 +24,8 @@ interactions: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store + Connection: + - keep-alive Content-Length: - "37" Content-Type: @@ -39,7 +41,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" - status: 404 Not Found + - "400" + status: 404 NOT FOUND code: 404 duration: "" diff --git a/test/integration/fixtures/TestLKEVersions_List.yaml b/test/integration/fixtures/TestLKEVersions_List.yaml index 112ebffa8..ebb62e8a2 100644 --- a/test/integration/fixtures/TestLKEVersions_List.yaml +++ b/test/integration/fixtures/TestLKEVersions_List.yaml @@ -14,7 +14,8 @@ interactions: url: https://api.linode.com/v4beta/lke/versions method: GET response: - body: '{"data": [{"id": "1.23"}], "page": 1, "pages": 1, "results": 1}' + body: '{"data": [{"id": "1.29"}, {"id": "1.28"}, {"id": "1.27"}], "page": 1, "pages": + 1, "results": 3}' headers: Access-Control-Allow-Credentials: - "true" @@ -29,8 +30,10 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 + Connection: + - keep-alive Content-Length: - - "63" + - "95" Content-Security-Policy: - default-src 'none' Content-Type: @@ -52,7 +55,7 @@ interactions: X-Oauth-Scopes: - '*' X-Ratelimit-Limit: - - "800" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK diff --git a/test/integration/instances_test.go b/test/integration/instances_test.go index 352521e3c..351a29293 100644 --- a/test/integration/instances_test.go +++ b/test/integration/instances_test.go @@ -134,6 +134,31 @@ func TestInstance_Disks_List(t *testing.T) { } } +func TestInstance_Disks_List_WithEncryption(t *testing.T) { + client, instance, teardown, err := setupInstance(t, "fixtures/TestInstance_Disks_List_WithEncryption", func(c *linodego.Client, ico *linodego.InstanceCreateOptions) { + ico.Region = getRegionsWithCaps(t, c, []string{"Disk Encryption"})[0] + }) + defer teardown() + if err != nil { + t.Error(err) + } + + disks, err := client.ListInstanceDisks(context.Background(), instance.ID, nil) + if err != nil { + t.Errorf("Error listing instance disks, expected struct, got error %v", err) + } + if len(disks) == 0 { + t.Errorf("Expected a list of instance disks, but got %v", disks) + } + + // Disk Encryption should be enabled by default if not otherwise specified + for _, disk := range disks { + if disk.DiskEncryption != linodego.InstanceDiskEncryptionEnabled { + t.Fatalf("expected disk encryption status: %s, got :%s", linodego.InstanceDiskEncryptionEnabled, disk.DiskEncryption) + } + } +} + func TestInstance_Disk_Resize(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks(t, "fixtures/TestInstance_Disk_Resize") defer teardown() @@ -361,7 +386,7 @@ func TestInstance_Rebuild(t *testing.T) { } rebuildOpts := linodego.InstanceRebuildOptions{ - Image: "linode/alpine3.15", + Image: "linode/alpine3.19", Metadata: &linodego.InstanceMetadataOptions{ UserData: base64.StdEncoding.EncodeToString([]byte("cool")), }, @@ -378,6 +403,42 @@ func TestInstance_Rebuild(t *testing.T) { } } +func TestInstance_RebuildWithEncryption(t *testing.T) { + client, instance, _, teardown, err := setupInstanceWithoutDisks( + t, + "fixtures/TestInstance_RebuildWithEncryption", + func(client *linodego.Client, options *linodego.InstanceCreateOptions) { + options.Region = getRegionsWithCaps(t, client, []string{"Disk Encryption"})[0] + options.DiskEncryption = linodego.InstanceDiskEncryptionEnabled + }, + ) + defer teardown() + + if err != nil { + t.Error(err) + } + + _, err = client.WaitForEventFinished(context.Background(), instance.ID, linodego.EntityLinode, linodego.ActionLinodeCreate, *instance.Created, 180) + if err != nil { + t.Errorf("Error waiting for instance created: %s", err) + } + + rebuildOpts := linodego.InstanceRebuildOptions{ + Image: "linode/alpine3.19", + RootPass: randPassword(), + Type: "g6-standard-2", + DiskEncryption: linodego.InstanceDiskEncryptionDisabled, + } + instance, err = client.RebuildInstance(context.Background(), instance.ID, rebuildOpts) + if err != nil { + t.Fatal(err) + } + + if instance.DiskEncryption != linodego.InstanceDiskEncryptionDisabled { + t.Fatalf("expected instance.DiskEncryption to be: %s, got: %s", linodego.InstanceDiskEncryptionDisabled, linodego.InstanceDiskEncryptionEnabled) + } +} + func TestInstance_Clone(t *testing.T) { var targetRegion string @@ -475,6 +536,22 @@ func TestInstance_withMetadata(t *testing.T) { } } +func TestInstance_DiskEncryption(t *testing.T) { + _, inst, teardown, err := setupInstance(t, "fixtures/TestInstance_DiskEncryption", func(c *linodego.Client, ico *linodego.InstanceCreateOptions) { + ico.DiskEncryption = linodego.InstanceDiskEncryptionEnabled + ico.Region = "us-east" + }) + if err != nil { + t.Fatal(err) + } + + t.Cleanup(teardown) + + if inst.DiskEncryption != linodego.InstanceDiskEncryptionEnabled { + t.Fatalf("expected instance to have disk encryption enabled, got: %s, want: %s", inst.DiskEncryption, linodego.InstanceDiskEncryptionEnabled) + } +} + func createInstance(t *testing.T, client *linodego.Client, modifiers ...instanceModifier) (*linodego.Instance, error) { if t != nil { t.Helper() diff --git a/test/integration/lke_clusters_test.go b/test/integration/lke_clusters_test.go index 0e4e6a1f4..4798e1bc9 100644 --- a/test/integration/lke_clusters_test.go +++ b/test/integration/lke_clusters_test.go @@ -74,13 +74,12 @@ func TestLKECluster_Update(t *testing.T) { updatedTags := []string{"test=true"} updatedLabel := cluster.Label + "-updated" - updatedK8sVersion := "1.23" - updatedControlPlane := &linodego.LKEClusterControlPlane{HighAvailability: true} - updatedCluster, err := client.UpdateLKECluster(context.TODO(), cluster.ID, linodego.LKEClusterUpdateOptions{ - Tags: &updatedTags, - Label: updatedLabel, - K8sVersion: updatedK8sVersion, - ControlPlane: updatedControlPlane, + updatedK8sVersion := "1.29" + + updatedCluster, err := client.UpdateLKECluster(context.Background(), cluster.ID, linodego.LKEClusterUpdateOptions{ + Tags: &updatedTags, + Label: updatedLabel, + K8sVersion: updatedK8sVersion, }) if err != nil { t.Fatalf("failed to update LKE Cluster (%d): %s", cluster.ID, err) @@ -98,6 +97,17 @@ func TestLKECluster_Update(t *testing.T) { t.Errorf("expected tags to be updated to %#v; got %#v", updatedTags, updatedCluster.Tags) } + // Update the LKE cluster to HA + // This needs to be done in a separate API request from the K8s version upgrade + updatedControlPlane := &linodego.LKEClusterControlPlane{HighAvailability: true} + + updatedCluster, err = client.UpdateLKECluster(context.Background(), cluster.ID, linodego.LKEClusterUpdateOptions{ + ControlPlane: updatedControlPlane, + }) + if err != nil { + t.Fatalf("failed to update LKE Cluster (%d): %s", cluster.ID, err) + } + if !reflect.DeepEqual(*updatedControlPlane, updatedCluster.ControlPlane) { t.Errorf("expected control plane to be updated to %#v; got %#v", updatedControlPlane, updatedCluster.ControlPlane) } @@ -222,11 +232,12 @@ func TestLKEVersion_GetFound(t *testing.T) { client, teardown := createTestClient(t, "fixtures/TestLKEVersion_GetFound") defer teardown() - i, err := client.GetLKEVersion(context.Background(), "1.23") + i, err := client.GetLKEVersion(context.Background(), "1.29") if err != nil { t.Errorf("Error getting version, expected struct, got %v and error %v", i, err) } - if i.ID != "1.23" { + + if i.ID != "1.29" { t.Errorf("Expected a specific version, but got a different one %v", i) } } @@ -253,8 +264,8 @@ func setupLKECluster(t *testing.T, clusterModifiers []clusterModifier, fixturesY createOpts := linodego.LKEClusterCreateOptions{ Label: label, - Region: getRegionsWithCaps(t, client, []string{"Kubernetes"})[0], - K8sVersion: "1.23", + Region: getRegionsWithCaps(t, client, []string{"Kubernetes", "Disk Encryption"})[0], + K8sVersion: "1.28", Tags: []string{"testing"}, NodePools: []linodego.LKENodePoolCreateOptions{{Count: 1, Type: "g6-standard-2", Tags: []string{"test"}}}, } diff --git a/test/integration/lke_node_pools_test.go b/test/integration/lke_node_pools_test.go index 41bd45426..cd8397d08 100644 --- a/test/integration/lke_node_pools_test.go +++ b/test/integration/lke_node_pools_test.go @@ -69,6 +69,41 @@ func TestLKENodePool_GetFound(t *testing.T) { if diff := cmp.Diff([]string{"testing"}, i.Tags); diff != "" { t.Errorf("unexpected tags:\n%s", diff) } + + if i.DiskEncryption != linodego.InstanceDiskEncryptionEnabled { + t.Errorf("DiskEncryption not enabled, got: %s, want: %s", i.DiskEncryption, linodego.InstanceDiskEncryptionEnabled) + } + + // TODO - This field is not yet implemented in dev + // We must wait for the k8s nodes to be ready as a proxy for waiting + // for the Linodes in the node pool to be ready. The inital pool is + // returned with instances that have no IDs + // wrapper, teardownClusterClient := transportRecorderWrapper(t, "fixtures/TestLKENodePool_GetFound") + // defer teardownClusterClient() + + //if err := k8scondition.WaitForLKEClusterAndNodesReady(context.TODO(), *client, lkeCluster.ID, linodego.LKEClusterPollOptions{ + // Retry: true, + // TimeoutSeconds: 0, + // TransportWrapper: wrapper, + //}); err != nil { + // t.Fatalf("got err waiting for LKE cluster and nodes to be ready, err: %v", err) + //} + + //i, err = client.GetLKENodePool(context.TODO(), lkeCluster.ID, pool.ID) + //if err != nil { + // t.Fatalf("failed to get lke node pool, got err: %v", err) + //} + + // for _, node := range i.Linodes { + // instance, err := client.GetInstance(context.Background(), node.InstanceID) + // if err != nil { + // t.Errorf("failed to get Linode, got err: %v", err) + // } + + // if instance.LKEClusterID != lkeCluster.ID { + // t.Errorf("linode: %d is LKENodePool member but got linode LKEClusterID: %d, want: %d", instance.ID, instance.LKEClusterID, lkeCluster.ID) + // } + //} } func TestLKENodePools_List(t *testing.T) { From 6a6014f02272b09c3cde208cf48e22d2a73d9d57 Mon Sep 17 00:00:00 2001 From: Zhiwei Liang Date: Thu, 23 May 2024 12:17:13 -0400 Subject: [PATCH 2/8] Fix LKE tests --- .../TestLKECluster_APIEndpoints_List.yaml | 22 +- .../TestLKECluster_Dashboard_Get.yaml | 22 +- .../fixtures/TestLKECluster_GetFound.yaml | 18 +- .../fixtures/TestLKECluster_GetMissing.yaml | 2 +- .../TestLKECluster_Kubeconfig_Get.yaml | 75 +- .../TestLKECluster_Nodes_Recycle.yaml | 14 +- .../fixtures/TestLKECluster_Update.yaml | 20 +- .../fixtures/TestLKECluster_WaitForReady.yaml | 28 +- .../TestLKECluster_WaitForReady_Cluster.yaml | 681 +----------------- .../fixtures/TestLKEClusters_List.yaml | 18 +- test/integration/lke_clusters_test.go | 7 +- 11 files changed, 171 insertions(+), 736 deletions(-) diff --git a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml index 8287d604b..dac8a8e34 100644 --- a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml +++ b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -119,7 +119,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-apiend","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-apiend","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -128,12 +128,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: POST response: - body: '{"id": 7323, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7456, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-apiend", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -187,7 +187,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7323/api-endpoints + url: https://api.linode.com/v4/lke/clusters/7456/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please @@ -230,12 +230,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7323/api-endpoints + url: https://api.linode.com/v4/lke/clusters/7456/api-endpoints method: GET response: - body: '{"page": 1, "pages": 1, "results": 4, "data": [{"endpoint": "https://2dfc5e68-f61d-4303-ab74-441e835acdaa.cpc1-cjj1-testing.linodelke.net:443"}, - {"endpoint": "https://2dfc5e68-f61d-4303-ab74-441e835acdaa.cpc1-cjj1-testing.linodelke.net:6443"}, - {"endpoint": "https://172.234.0.10:443"}, {"endpoint": "https://172.234.0.10:6443"}]}' + body: '{"page": 1, "pages": 1, "results": 4, "data": [{"endpoint": "https://fbb841d7-aa0a-4afd-89c7-0cf907d5fea1.cpc1-cjj1-testing.linodelke.net:443"}, + {"endpoint": "https://fbb841d7-aa0a-4afd-89c7-0cf907d5fea1.cpc1-cjj1-testing.linodelke.net:6443"}, + {"endpoint": "https://172.234.1.81:443"}, {"endpoint": "https://172.234.1.81:6443"}]}' headers: Access-Control-Allow-Credentials: - "true" @@ -291,7 +291,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7323 + url: https://api.linode.com/v4/lke/clusters/7456 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml index 9c0c1e22c..c10bfc5f7 100644 --- a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -119,7 +119,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-dash","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-dash","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -128,12 +128,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: POST response: - body: '{"id": 7325, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7458, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -187,12 +187,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7325 + url: https://api.linode.com/v4/lke/clusters/7458 method: GET response: - body: '{"id": 7325, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7458, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -248,10 +248,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7325/dashboard + url: https://api.linode.com/v4/lke/clusters/7458/dashboard method: GET response: - body: '{"url": "https://9808ce20-641e-45e2-8905-5bc8a3ee788a.dashboard.cpc1-cjj1-testing.linodelke.net"}' + body: '{"url": "https://5d026680-6439-49a1-9ca9-0408aba5f076.dashboard.cpc1-cjj1-testing.linodelke.net"}' headers: Access-Control-Allow-Credentials: - "true" @@ -307,7 +307,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7325 + url: https://api.linode.com/v4/lke/clusters/7458 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_GetFound.yaml b/test/integration/fixtures/TestLKECluster_GetFound.yaml index 248344909..da5a09a0a 100644 --- a/test/integration/fixtures/TestLKECluster_GetFound.yaml +++ b/test/integration/fixtures/TestLKECluster_GetFound.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -119,7 +119,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-found","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-found","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -128,12 +128,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: POST response: - body: '{"id": 7320, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7453, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -187,12 +187,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7320 + url: https://api.linode.com/v4/lke/clusters/7453 method: GET response: - body: '{"id": 7320, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7453, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -248,7 +248,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7320 + url: https://api.linode.com/v4/lke/clusters/7453 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_GetMissing.yaml b/test/integration/fixtures/TestLKECluster_GetMissing.yaml index 37f054f96..a34b87c8d 100644 --- a/test/integration/fixtures/TestLKECluster_GetMissing.yaml +++ b/test/integration/fixtures/TestLKECluster_GetMissing.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/0 + url: https://api.linode.com/v4/lke/clusters/0 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' diff --git a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml index 3b45ce673..099ea6d74 100644 --- a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -119,7 +119,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-kube-get","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-kube-get","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -128,12 +128,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: POST response: - body: '{"id": 7324, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7457, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "us-east", - "k8s_version": "1.28", "control_plane": {"high_availability": false}, "tags": + "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: @@ -188,12 +188,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7324 + url: https://api.linode.com/v4/lke/clusters/7457 method: GET response: - body: '{"id": 7324, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7457, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "us-east", - "k8s_version": "1.28", "control_plane": {"high_availability": false}, "tags": + "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: @@ -250,7 +250,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -293,7 +293,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7457/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/7324/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -379,7 +379,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -422,7 +422,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -465,10 +465,53 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7324/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig method: GET response: - body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlEwVjZTamxTVFRNeVlUQjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk1VMVVVWGhQUkZVd1RYcEtZVVozTUhwT1JFRXhUVlJKZUU5RVZUVk5la3BoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVTTJhRWRNVldkUlQxbEZjVzV6YjJkNlMyaHdlSGsxT0VaVFZ6bEZkSEpLYVVSb1ZsWlZiMFY1U1ZsVllqbFRkSFp0VkdWamNsQkpNMUlLUWpadGRUbG5XbFZqZHpadmJETTFTVmRpV1hSSE5DOTJTM0UyUnpNdlVrZHNUVGREWm10Q1VGWlRaazB3ZEhWRE1YRktNRFV2VjBOWVJtcGFSRTA0ZFFwNlVrNHdVSGgyVmxJdksweGtaV0p6VEdGbmFuWXlWVE5WWVZSaVlVaGpVbHBNU1ZCaVZYVnRMMUJqYTFvMWNFUjJaMFZHZVRaWlZHRTJTRmN5ZFV4NUNsbFZhMDlOVW05U2FqZGxVSFF2Tldkdk5VUmpUSGxYV0d0bU1FeE9LMnc1YkZWWU5YQjFjMWg1ZFdwUE1IRTNjVTFHU1VwU1ZWWjZhamhSTkVscGJ6a0thRk5VZEZCMVlXSjRXbnBJTldaV2VIbzBZbXQxYVhKemFUVXJhazFrY2xoaEt6RkdNRkpzUkc5dFpVdHFVVFJrY0N0YVFWTkpPWEppYjNaQ00yOUlkUXBhTTJ3clpXdE9lVzV4YW1OSVF6QkpZVmxGVlV4NGRuWnljMEpFUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pSVFZaaWRITndVamd5UjNwNVdsUXZTa3R3YTNwSlRuRnlaMDlFUVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlFsbHdabE5UYnl0b013cDNWM1l6ZFM4elV6aG5lVU5aVVc1NVpWVnpZblZ4VWxsa1psaHdUazFSWW01NlMxVlRaV1UxTVhKT2RIRldZMWtyYjJoSVlVOVNSRmd3ZVRoNlQxVmlDbkZWZUhGRk1HMW9NSGhZT0hKWUsxUnVkVTF0ZWpsaGFXZFZTMGhETHl0TWFraHZUMVZNYTNwb1p6TnlhMHRoY0ZSSFdHRnZiV0p4Y0dwRVFuUjBTVUlLYUM4ck5EbGlMM0YyWjI5M1prTTJWVzlPVmtKeVpFaFdOeXRwZFZBMGVrbzNVelZFV0UxcmVEYzVORXRyYlN0WFpVeGFaV05uZEM5MVkwUmpVMEk1U1FwWVIyNVdaa05OTTBSU2MzTnlNR0Z2V2twUVRXNU9TVVJSYzJwMVExSm1TMWxxWTNsWGEyeDBNRE15ZGtKNmRuUk9lRVZwY3paVmIzUm1iRTAwTmtvd0NsRkVlRmQxTUZOcVMweGpPSGsyYTNCSGRXMWhiVzlxVFVaaFNXdElPVE5uUkhGUWRITXljMHhVZUd0NFNqaHlMeTl5TkRoV1FsWlVXVWg0SzJJd1RWRUtNV3RMY2tSaFZXSjFiVmhyQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vYzg2YWRmOTctZjdjMS00MmRlLWFhZWYtYmI0MjQzZmM0OThlLmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzMyNAoKdXNlcnM6Ci0gbmFtZTogbGtlNzMyNC1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJa0pJTjJGQ2RXdDRSa3BTVURoeWJHTjVUVEpzU1dKbFVUZG5TMTlwVFU1TWJtdEJTekJoVFRaSldsRWlmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dGNIRjNjWE1pTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pTkdFelkyVmhOMk10TkRrM05pMDBNV1ZoTFRnelpEa3ROR1kxWWpBME9UVmpNbU0xSWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5Lno5SkpyQVAwY0lyYVotNWg1djlXWENfbW5TOGE2OHpBeG9JR2lBa2w2SnQ2SmNkejg1VmcwdFh5bVJseHl1T0VHbmxMeVpmQ3NxTFVzc3FDYkQ2SkFvNExqR2JqcFB3MmZLZXZMNEZJOU53aV85a0N4b2N5U0Z3M3g3cHUxaUJYOW0zbFNLYWtoZlE0NFJwOWhpNmU0RWdfcFlUbF9paVJqZWtsZ09CQnM1LURMOGZvVTMwR0x2ZlVJUkl1ODdKUG0xTHNFbzRfZ2J5cHJHdU5kdVBzdHkzZElHV0dWNjFTLW9RRGwwaVU2ZlpaZmxURnlKb1NrU21EUnlNa29mVHpzZzV4V2NyN29KZ0J4S2Jpa09HcklrYkMxbzZfUl9nVGk5RnY3cHBPN0lMMFJpZXNxbmpETXM5VEdYaUllOTlfS0c0RkFHNllqTTh5bEVBMzNrMTR5ZwoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTczMjQKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzMyNC1hZG1pbgogIG5hbWU6IGxrZTczMjQtY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTczMjQtY3R4Cg=="}' + 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: + - '*' + Connection: + - keep-alive + 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: + - "400" + 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/v4/lke/clusters/7457/kubeconfig + method: GET + response: + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlIwWm5ZbVJCZFVzdmVUUjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk1VMXFUWGhPYWtFMFRrUnNZVVozTUhwT1JFRXhUV3BGZUU1cVJYcE9SR3hoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVTnhTMDEzYWprMmNVRTVXRWhWVnk5MVZEZ3ZXalk0ZVRaWGVrNHhXSGQzVHl0NVYzZ3lSVGsyVDNkVE5pdHJlRW9yVFZreWNuTlNWbW9LZDBscmVIbFVWV2hrUWsxd2FITm9OMjVzU1VsdWRWSjBhREZQVkhOWVNFOVhPSFJwYjFGUGRrTlpVMmc1VnpCT016Rkxaa0pYUjBsc1prRlJXWFp2UWdwUVRsTTRhVlpFYVdsUFpWQk5RMFk1Y0hwaFJsZFFXVlppZFUwMFVTOXNSMFVyYW5wQlRtUlVNbXhETW1wdVREWkxNSFphZVZObWNEVmpSelJXVTJVekNuVnlVVEpOVDFZMk9XMTRkRE5QVG1JeGRqaGljVkZRV1hONk4zVjBaMU5oYVU1bGNWaE9TSFJSY2t0NFVtTnNiR2hIYjJaUU5rNTRiWEI0T1dKclpGTUtkMWhCSzBWS2NIVmpUVmh6TVc1SkwxUmtkVGwzWVd0RmEzbG9iMjVpUTBwMFJHZERhR1JrWVN0bVVUTnJjWFJwVVdsVlJEWnRXVkJEYTI5NWVWQkNSUXBrYXk5Uk9YTXpVWGxEUWtKVWQyaG1SVEZZVFdKcmVqZHNMMmxFUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pUVVZaVFZVZFpPV3hvTXl0Vk1ITnBiR0p2Um1abU0xSnZRMUpVUVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlExZFdZV2xaTVhGVmF3cGxjSGxVYkZGeWFXUkhUWEF5VlZaTFFucHRTREZEWms5U2FXcG1kVWRaU2xGdU4xUXZWRTF0Y2s5ck1XbHVOWHAwYmtGaWJqaE5NRU50TTJGM2JFWllDbHBuVFU4MlYyOUZiMlprWlVjelJITnpiV2RCU1hsdVpqRmFjVzFtV2tGakwxYzJLMkpCYjFWUWRIcDFUWFZRV2t0dmJsRjZlSEZFT1dwSlZVMXROR0VLYUZNcmJVUnpha0V2UTFGNU9HWXdUamMzYTFSYWVtUnpXbUpKU2pOTkwxSklkWGd5VmxNeFMxZHFUM05tS3pGcVNEaEtTVU55ZUhSbVZYazJXVnBPZGdwWWFsbGxNbTFuTlRoWWVXTm9kSEJLYTNwc1VrTjZlRVZGUVhNdmEwaHdSbWRtTlM5WFNuTkJSbFpVWjNVeGEyaEdOREZQZVdVNE9EUkROeXRFVFRCUUNta3ZUREpxV2poVE1USk9RM0pYWVhsbU1VNW1jVTQyYVdjNVJtbHFZMUZXWVRCT2VUZHpPRGN3VTFwbU5qVkJSemQ2ZGxGTWVUTmpVWEEwUnpONWNWQUtZVGMyU2xJelRsbFNObWRMQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vMzA1Y2M2N2YtMzU4Yy00NjI0LTliYzEtMjhiMWUzZTk5NDY2LmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzQ1NwoKdXNlcnM6Ci0gbmFtZTogbGtlNzQ1Ny1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJa2hrZFRab2NXUm5SM1pWTkRoaFlsOUJNMnhLV0V4Q2RtTldZMGh3TldoTmRFWnJhV055WmtWeFVWa2lmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dFlqWTJZbU1pTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pWWpVM09EZGxOV010TnpReE1DMDBNalkzTFdGaU5qTXRPR1psTWpJek16Y3dZbVZqSWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5Lmg3LWFxSUV0VmVCRXlscDVsVmY3a1drVFJLN3ZocHFQUDNFb1J3YTBJWUx5WnlQbnAwZkVkaXJ1dFlVTFVBdVEzREdybnJGRUk0cnd6cDJGR3BfNC1ZanBnT2FMeURha3FlOWROTTl2Zkl2MzV4bndQS2dLZ3hDNGQ5Q1VmMXA2bGpOTHE3MVR2cVoyY084a3pFRzRodmZwT3hnUEJIckNtdzJvYUJjb0lfOUU0ODNkWUtVc0liQmxyUV94VHc2VlE5Y3k0VDVjZmM3bUVYNDlWalRvUWJkaHAtT2VKZkl6bGRjSk9paGFnbnB2QW9ZcmZ0UmZRVXNJRENvd3hyVHd6S1Q3U3RCX1pnZ3A4cDJ2VWpHemtvNUVNWlczUThFVDNhMWx1QXM3blFyWUdpa2FhdHQ4WlpXazlUUmZ0V3QyQWFYbTBiczk1azRMM19xYUtKUTl1UQoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTc0NTcKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzQ1Ny1hZG1pbgogIG5hbWU6IGxrZTc0NTctY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTc0NTctY3R4Cg=="}' headers: Access-Control-Allow-Credentials: - "true" @@ -524,7 +567,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7324 + url: https://api.linode.com/v4/lke/clusters/7457 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml index 788d56cab..36515c7ca 100644 --- a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml +++ b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -119,7 +119,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-recycle","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-recycle","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -128,12 +128,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: POST response: - body: '{"id": 7322, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7455, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-recycle", "region": "us-east", - "k8s_version": "1.28", "control_plane": {"high_availability": false}, "tags": + "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: @@ -188,7 +188,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7322/recycle + url: https://api.linode.com/v4/lke/clusters/7455/recycle method: POST response: body: '{}' @@ -245,7 +245,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7322 + url: https://api.linode.com/v4/lke/clusters/7455 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_Update.yaml b/test/integration/fixtures/TestLKECluster_Update.yaml index f0589e0e0..7dd42f1c7 100644 --- a/test/integration/fixtures/TestLKECluster_Update.yaml +++ b/test/integration/fixtures/TestLKECluster_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -119,7 +119,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-update","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-update","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -128,12 +128,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: POST response: - body: '{"id": 7321, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7454, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -187,10 +187,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7321 + url: https://api.linode.com/v4/lke/clusters/7454 method: PUT response: - body: '{"id": 7321, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7454, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update-updated", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["test=true"]}' @@ -247,10 +247,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7321 + url: https://api.linode.com/v4/lke/clusters/7454 method: PUT response: - body: '{"id": 7321, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7454, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update-updated", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": true}, "tags": ["test=true"]}' @@ -307,7 +307,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7321 + url: https://api.linode.com/v4/lke/clusters/7454 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml index 409d8e3dc..59fccd236 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -119,7 +119,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":3,"type":"g6-standard-2","disks":null,"tags":null}],"label":"go-lke-test-wait","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":3,"type":"g6-standard-1","disks":null,"tags":null}],"label":"go-lke-test-wait","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -128,12 +128,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: POST response: - body: '{"id": 7332, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7452, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-wait", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -187,7 +187,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -230,7 +230,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -273,7 +273,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -316,7 +316,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -359,7 +359,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -402,7 +402,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -445,10 +445,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7332/kubeconfig + url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig method: GET response: - body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlV6TnJkRW9yY25kSGVVVjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk1VMVVVWGhQVkVsNVRWUkdZVVozTUhwT1JFRXhUVlJKZUU5VVNUTk5WRVpoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVUnJLMHMxY0dzNVExWnBRbGRRYTA5M2RucENkbTVDTUhaV1JUUmlWM28wZG5OVmVIQTRUVVExU0ZWUWJucFlkVEV6ZHpFMFVtRnFVM2NLZDNkU05rMU5iR1I0UVhOWk1pOVBVbmc1VTFOR01WRXdTSGhuU2pCR2VIbGxTV3BwZVZnclRWSmxiMmxCV0M4MlpFTnZZVEJwZFZkNFNGaHlTRGRVWmdwRFkzY3lOekpOVTFCMmNDdHdWVmtyYWxCd2MxTlBMMlJNTUVsbk5URnhjVmxEYVhSMk4xbG9WRWQwVVVSWGExWkxRMEpZVFRKMWNGSmpTbU5qVldSWUNqVkxhV0ZZYTFaWlJVaFhhbmxRYjBkeWNHUlNVemhxVEZabEwzRXhha1JaSzJKRFVIRm9kVU0zZVV0aVEyUjNjelJPUVd0U05WQlhjMUJGWm5WSFVVd0tPVFZFY0hsUWVuSklUVkJoY2tsdlV5dGhUVU5FYzFKUFYwMUlNVTlyVjJwS1JEQkdWMVkwT0RZeVdEZGpNRzVCYVV0TU1FRkZORGxpYmxaSGNHUlVOQXBDUlZoU09ETTVUM0ZsYldwTFozVmFjME5oVXpKcGVHTnlPRzFvUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pUWTNkUGFEWTJlVFpXTlVZek5FeFVSbGwzV0dsRVprWmhMM0JxUVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlFrNXNSSGh1TmtwM1pnb3lVV2QzWldwdlRqQklaRkphY0hFMmFUSnpNV1ZpTjNaVFVXUndTMW8zT0dSNU9XMHhZekZSV2toMlFUaHZUbTkyWVZKWk1rdG9ObEZwTmpoNGFEVmhDbEZWUVRoeVVHaGhUV1JvTWtGME56ZFpVQzlJVGsxeFFraEhZVzUxWTBSblJtbHBhVk13WTJsTVVHRlNPVkE1ZWsxTFdqZEpWRkYzVG5sMmQzUnJhR0lLTDNsMU1tMHZjbkpxZWtkUWFEaGlOV1pIYzJrd1FWaEhLM2R1UVRWMWJFOUhXVWxKUzFreVQyMVNUVTB3U0N0WVkwSTNWRXRYWmxGeFNtWldVVWRIYXdvMFFVRm1jV3hXU0RkMlJVTldSa1ppVmxWM04xcFBUMkZVU0RSQlRITnhWekp0VVdRMFdqSkxTRFY1ZWl0Vk1GcGhWRGs1VjJoUE5XMU1MMUJ1WVdsWUNtVm1VbmhGTkRSWVlXWlFSbTR6VjJkdU5qTTNaMGxwZGtkSlZpdHFOM0pPU1hkQ016bFhVVkJDTlVkMk1VUm1NMUJDTldSclRURkVWWGwyWkVFelF6WUtUalYwZEdobWJVeDVVVXAxQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vZTNjNjcyZmEtZWRhNC00N2RjLTkwNzMtMjgyYTVjY2ZkYmMwLmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzMzMgoKdXNlcnM6Ci0gbmFtZTogbGtlNzMzMi1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJa3MxVW5oM1RsZHNjVU5OUlhkTWMxaEVMVWhuTFVFMWIyUTVXR3BrZFZsV01td3lXbFJmUm10Zk5XTWlmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dGJXWjBjV01pTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pTTJRek1EaGxNMll0TVdJMU5DMDBaV1poTFdFMVlUVXROVEUwTVRRME5USmxPV1l3SWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5LmxIbXEtWVo5U2ZHU0tqaFVsZWF4YVpwRTlVQ3JScnE0d0JOVWZlZlZYOFBhRnRRd0V1THVHX3NXRlZFUnVQc3k3QVdxX1h4aFJjSTVmdlNPN2IyRGVyWERncWF5SHU0bk1LcXdINk52cFpZblVTN0hkeWJMZ3dRSmlyclVFdzQ2YW5WSDNWTk9KOGIyQ3N1TE50MUFNZTdYNmQzSXU3MTVCOWU4ZjJkTVQ2dmd6R0h5YjBxN0Z6ZloxY3pKYjl5dHotWndVMUhpRzdSN1c5ZjY4OTBSZG1idnlKcXE5X3lxRElXbkUtSWJESG5uVGtqSXM5NWM0OTBWYnBwQlQ0QmtfSGNHNW50dmRCY0FYT3NlYXZKMGdqYlVmNG1OZk9BN3VSVkp4Um1wQ2dSc3NwaGxtX3lQSkVTSEhPWVJTLWdWRkVFc3FyYzhkel8wekNWanh2ZE5mZwoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTczMzIKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzMzMi1hZG1pbgogIG5hbWU6IGxrZTczMzItY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTczMzItY3R4Cg=="}' + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSldGSlNUalZwTkZWbE1FMTNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk1VMXFUWGhPYWtFeFRWUk9ZVVozTUhwT1JFRXhUV3BGZUU1cVJYZE5WRTVoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVUmxUakJRVkhsRGRqbEdNVFE0TTNWcmVXOHZkVTlETlVoSlMyWXljRTlRVm5SUWFIZHZaaXMyUlc1aWQydFpZMkpPY0ZCRk1qVnVPRkFLVm5aSllVOU1UbmhsSzNwb2JrVkRPVzgwTUVnNFpYQTBlbHBEU0RVdlNFWmhRM1Z5TXk4NGNHa3JlRnBhWVRZM1kySnJkMUZ3ZUcxNFdUZ3pWbE5QYkFwSGRYcFdjRk4wU25GdmRWZDZkV3BWY1dnMU5uSkhNRGhLVXpRclMzWjJkSGRRUkRjemNuWnBjMnR5TmtsemFVNTBiMjh4TldOMWNVOW5hSEpoV1ZaWENrUmljWFJ3TUZoRVdGVTFibGxrZG1ScFoxSlViblU0TUdaVU9XdFRkblZITTNOalUyUlFOVmRJTnpkQlpXZEJZWEJpZVZaSGMxWTBVMU5HY1hKaFZqVUtUWHBYVGxBeldtaExXRU5yWkc5clRscHJhV2R3UTBWWU1XbERSM2g1VWtjeWMzUTRlbEJ6ZEN0NFVHOXRNVTVzVG5CbmEwSlFibTlWVEVwT1FsWXdiZ3BDUWpaalFXMXJaWFUwTlV0UE1scFhVVGRGU1hsU2FERm1XSHBZUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pUYUU1SlN6UjRkMkZ2VVdKeldWZEpRV0Z4WkcxdFNqRjFSRUo2UVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlEwTnZaMlJtTTNwNk9BbzRZblZsWms5UkwwNDVURWxHTXpSbmVHcElVM0JKU1RWR2RYSlRORXRNZVhoS1FtMXJTMU01TVVvMVdUSXlWMFVyZFZnNGVGWnNVMk5tVEdOT1kyOWlDbmRrT1hvM2NrNVFRbEZyVFVZNU5Fc3ZPRmxtYmxGQlZsZ3hjM2MxTkhCWVNFTnVNVUZGT1ZoNVRUUkdOMGhMYVVGNWFVaDZXRkZPZFZWdlFuUTFSSGNLVTNwVWRsbDZlVU01WTJGUlFVdENRVUpuTUVoSGNrbFdPRWh4UmxORFVuRXpNMWM0SzFsS2FtUnFha2xEWm1kTlpsUkRibmx2V1hoRWVrRTNiSHBzYVFveVVXaFdlVGxVY2psWlRYaEJNeTlWSzA1c01VeFpPR1paU1VsNkwxQktOSEprSzBWVU1EbHBaM2RhWjJwRFpXZHRlV1JsU2k5Sk9FcFJPR1p5TjNWakNqQlNSazFXYjBWUmNYcDZURVJQTDFCYU5WaHFUR3hXTldWRVdWRnlTa2xCYzBoeU5tSnVhbmxDVjB0M1pFWkZabFpPU2pkMFEwOVdVRGxrWW5CWVMwa0tNa3BQZVROcE5WUXpjbGhqQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vODdjMWI4MzYtOGZlZS00NDNjLWJiYmMtNzRhYzg0ODE3MTg5LmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzQ1MgoKdXNlcnM6Ci0gbmFtZTogbGtlNzQ1Mi1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJbXRLUTFwc2JHMTVZbUkxVUZoNGNEWnFTbTAzWTB0d1QybFphWFUzWkV4dlJsbE5VVFUzTnpKa1dFVWlmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dE5tWTBhamtpTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pWmpsaU5EQmhZVGN0T1dObFpTMDBaVEF3TFRrME9UY3ROV1U0WkRkaU4yTTJOalV4SWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5Lmd3cnBQRkwzYnJqcnFUSGtWeWxuSVZwLU85Qm01d2l0TS1SSi1xbnIxX1JCR214QklGX0VEeWF4cDRtNl9POUgxdnNiV1lMM3JGb0lhU1FiZnVfT1pHdmZUQURGWlpLbVpNYjdLRnBENEpsVm0tN3RSSHRDb3Y1SkNpRllsRGVodjUwMzJyUmFOcmFTUGR6STRtMEFpYV9WT1AwejNYNERFYk0wSy1qQnhyUFctWmI5NXl1SzlFdWVaY3NJVjdScEp2V2pUWTNwZzFfbXl0YWVJMjhUZGtuLThRMFVnSzJSYWNuRWFwNlpOcWpVZEx2bzZoaXBGQ0lIT3VrMkd6aWNCalNJOGVrRG1qcXhxdlNOLW5ZS0RubENFVVJSODdraW5rWUh6a2YxbnZSTUtBTzNmdFdrZUZ4VTBCNklRLURHNm9iX3VLckllU3FicVpxLTV3M05KQQoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTc0NTIKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzQ1Mi1hZG1pbgogIG5hbWU6IGxrZTc0NTItY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTc0NTItY3R4Cg=="}' headers: Access-Control-Allow-Credentials: - "true" @@ -504,7 +504,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7332 + url: https://api.linode.com/v4/lke/clusters/7452 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml index 882e21e20..6ba2f801e 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml @@ -8,15 +8,15 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format + url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"459"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"460"},"items":[]} headers: Audit-Id: - - f62ac6df-94f2-428e-8229-d8be979f88b2 + - 8a590d40-7b51-4373-bd06-12a752a7eafb Cache-Control: - no-cache, private Content-Length: @@ -24,9 +24,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea + - b58fbd26-116c-4d6a-983f-ed29537ff051 X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b + - f9f3481f-7557-47b1-bfce-e3741d1b4160 status: 200 OK code: 200 duration: "" @@ -37,15 +37,15 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format + url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"464"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"470"},"items":[]} headers: Audit-Id: - - 44b9410f-d017-4e95-b667-1b92f15a837c + - c2463000-f9d6-403f-97d2-0ee558358343 Cache-Control: - no-cache, private Content-Length: @@ -53,9 +53,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea + - b58fbd26-116c-4d6a-983f-ed29537ff051 X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b + - f9f3481f-7557-47b1-bfce-e3741d1b4160 status: 200 OK code: 200 duration: "" @@ -66,15 +66,15 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format + url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"468"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"474"},"items":[]} headers: Audit-Id: - - dce0dbc3-43b5-4536-a343-a1b2a5ee54db + - df8030c6-9e17-406f-a4c1-527a2eda3d94 Cache-Control: - no-cache, private Content-Length: @@ -82,9 +82,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea + - b58fbd26-116c-4d6a-983f-ed29537ff051 X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b + - f9f3481f-7557-47b1-bfce-e3741d1b4160 status: 200 OK code: 200 duration: "" @@ -95,632 +95,23 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format + url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"473"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"569"},"items":[{"metadata":{"name":"lke7452-7765-1c8078110000","uid":"d013f3b4-3a04-4340-beb9-7aaac7afb4ff","resourceVersion":"553","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-1c8078110000","kubernetes.io/os":"linux","node.k8s.linode.com/host-uuid":"6692378d1e034fbc92f8ef40e96caa3252726292","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","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.128/25\"":{}}}}},{"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":"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"},{"manager":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25175283","taints":[{"key":"lke.linode.com/labels-taints","value":"waiting","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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 status check may not have completed yet, container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-1c8078110000"},{"type":"ExternalIP","address":"97.107.143.243"},{"type":"InternalIP","address":"192.168.161.46"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"673fa8d4a8ed4380904b82d5ca502361","systemUUID":"673fa8d4a8ed4380904b82d5ca502361","bootID":"4d1bc812-552d-42bd-a2d7-809b35a40ab4","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7452-7765-32284d6a0000","uid":"172d09ff-b953-4b94-8735-fadf57bf3ac5","resourceVersion":"569","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-32284d6a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"bO49S5DxAhZsV9ggnqyzdlJnp49gdQO/4Lni9zMu/3c=","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/25\"":{}}}}},{"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":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}}}},"subresource":"status"},{"manager":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"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":{}}}}}]},"spec":{"podCIDR":"10.2.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25175282","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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 status check may not have completed yet, container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-32284d6a0000"},{"type":"ExternalIP","address":"172.104.221.148"},{"type":"InternalIP","address":"192.168.191.83"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4f62be35842046509b33d9ee54ca1450","systemUUID":"4f62be35842046509b33d9ee54ca1450","bootID":"a97f4eb6-4dac-4377-b4b4-d54696957779","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - - 8820efd0-5e7c-4288-b195-ba9848770904 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"476"},"items":[]} - headers: - Audit-Id: - - e8c2f6de-ce04-4251-beda-0adf63a54bf1 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"482"},"items":[]} - headers: - Audit-Id: - - d577a50f-cbfb-4166-bdc1-e8fc068bef1d - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"485"},"items":[]} - headers: - Audit-Id: - - 0fc31923-50e5-4d57-99bc-7c5953ae22d6 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"491"},"items":[]} - headers: - Audit-Id: - - e2c33679-0281-4185-a577-fefda3fababc - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"501"},"items":[]} - headers: - Audit-Id: - - 39b02dc2-0e01-4489-8913-06f864ac0021 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"504"},"items":[]} - headers: - Audit-Id: - - 388890ae-974f-4706-be7d-7743040edea1 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"518"},"items":[]} - headers: - Audit-Id: - - 0bf221d0-805d-4c82-8fd8-a2acae36649b - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"521"},"items":[]} - headers: - Audit-Id: - - b79259ea-1acb-449c-a53f-46da2dc830cf - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"527"},"items":[]} - headers: - Audit-Id: - - c22831e3-9541-40b7-a88a-dc70a07f8f4e - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"530"},"items":[]} - headers: - Audit-Id: - - 6ee13253-37cb-4122-8b9a-11cd0f6e8efb - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"536"},"items":[]} - headers: - Audit-Id: - - c2e609f4-f046-481d-b485-3eebc09955c8 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"539"},"items":[]} - headers: - Audit-Id: - - dc878b37-4fb4-430d-88ac-1199d0b7ce2d - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"545"},"items":[]} - headers: - Audit-Id: - - be4e1e02-cdfc-4ed7-9510-11207ad723a6 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"548"},"items":[]} - headers: - Audit-Id: - - cbcb96c1-c8f5-45d0-b8e1-4ef236ed2055 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"557"},"items":[]} - headers: - Audit-Id: - - 5a7b70bb-fd98-43d9-ab28-6250147888eb - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"561"},"items":[]} - headers: - Audit-Id: - - aa649de5-65ba-42db-8091-155808014cd2 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"572"},"items":[]} - headers: - Audit-Id: - - f635c3f2-d083-4a88-9f30-4ae48a7465af - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"576"},"items":[]} - headers: - Audit-Id: - - 458fe0ef-2880-4dd6-a274-025821aed876 - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"580"},"items":[]} - headers: - Audit-Id: - - 084dd604-0f90-498c-a143-fa69090495ce - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"585"},"items":[]} - headers: - Audit-Id: - - 50940564-40f8-463e-b8a0-a9caa69c9efc - Cache-Control: - - no-cache, private - Content-Length: - - "86" - Content-Type: - - application/json - X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea - X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b - status: 200 OK - code: 200 - duration: "" -- request: - body: "" - form: {} - headers: - Accept: - - application/json, */* - User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes - method: GET - response: - body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"692"},"items":[{"metadata":{"name":"lke7332-7625-1d36641e0000","uid":"f8b1330f-9fa7-4a84-87bc-84b2543952c9","resourceVersion":"690","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-1d36641e0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"03530127a19b0fa7234dec4175db15f25a2adce1","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"KUkgkub2ZfreyuEcAahFdlg2DIZSGo7M0dECXoc/SyQ=","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/25\"":{}}}}},{"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","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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"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"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25165073","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-1d36641e0000"},{"type":"ExternalIP","address":"143.42.180.29"},{"type":"InternalIP","address":"192.168.242.142"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"48a14acdf6264f63af861d99d40ac5ef","systemUUID":"48a14acdf6264f63af861d99d40ac5ef","bootID":"cfba2c5c-478e-4e85-b799-303c4616fac6","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7332-7625-4527543a0000","uid":"516732da-143b-440c-8502-fc0268bb29c8","resourceVersion":"692","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4527543a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"j1OfGU8UZrb0sB9sOxAL5LQrbtLlw764KCTlKonJPkQ=","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.128/25\"":{}}}}},{"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":"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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"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.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25165072","taints":[{"key":"lke.linode.com/labels-taints","value":"waiting","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-4527543a0000"},{"type":"ExternalIP","address":"143.42.180.26"},{"type":"InternalIP","address":"192.168.242.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4a8a5f365882450c998d4bab09f3d16d","systemUUID":"4a8a5f365882450c998d4bab09f3d16d","bootID":"51ee1328-0a18-43b8-afbe-f885df286956","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}}]} - headers: - Audit-Id: - - 88e4558e-a0bc-4c3c-8f1c-389519382a3d + - 22a8aaea-93f8-457f-9ac8-36fdaeea3edd Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea + - b58fbd26-116c-4d6a-983f-ed29537ff051 X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b + - f9f3481f-7557-47b1-bfce-e3741d1b4160 status: 200 OK code: 200 duration: "" @@ -731,23 +122,23 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format + url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"776"},"items":[{"metadata":{"name":"lke7332-7625-1d36641e0000","uid":"f8b1330f-9fa7-4a84-87bc-84b2543952c9","resourceVersion":"714","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-1d36641e0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"03530127a19b0fa7234dec4175db15f25a2adce1","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"KUkgkub2ZfreyuEcAahFdlg2DIZSGo7M0dECXoc/SyQ=","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/25\"":{}}}}},{"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","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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"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":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}},{"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.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25165073","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-1d36641e0000"},{"type":"ExternalIP","address":"143.42.180.29"},{"type":"InternalIP","address":"192.168.242.142"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"48a14acdf6264f63af861d99d40ac5ef","systemUUID":"48a14acdf6264f63af861d99d40ac5ef","bootID":"cfba2c5c-478e-4e85-b799-303c4616fac6","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7332-7625-4527543a0000","uid":"516732da-143b-440c-8502-fc0268bb29c8","resourceVersion":"729","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4527543a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"j1OfGU8UZrb0sB9sOxAL5LQrbtLlw764KCTlKonJPkQ=","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.128/25\"":{}}}}},{"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":"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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"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":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}},{"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.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25165072","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-4527543a0000"},{"type":"ExternalIP","address":"143.42.180.26"},{"type":"InternalIP","address":"192.168.242.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4a8a5f365882450c998d4bab09f3d16d","systemUUID":"4a8a5f365882450c998d4bab09f3d16d","bootID":"51ee1328-0a18-43b8-afbe-f885df286956","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7332-7625-4f06fd870000","uid":"e0b3532b-5c5a-46fe-8572-4242b2b03eab","resourceVersion":"760","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4f06fd870000","kubernetes.io/os":"linux","node.k8s.linode.com/host-uuid":"2e8c6f5e2c38ef3261c570ae22ac2b65435af20b","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.1.0/25","podCIDRs":["10.2.1.0/25"],"providerID":"linode://25165074","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026152Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923752Ki","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:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-4f06fd870000"},{"type":"ExternalIP","address":"143.42.180.43"},{"type":"InternalIP","address":"192.168.242.145"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4074f1da59194890903e3b9edf941d4c","systemUUID":"4074f1da59194890903e3b9edf941d4c","bootID":"d3aeff59-4c5f-433a-91d4-179a46f17743","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"689"},"items":[{"metadata":{"name":"lke7452-7765-0f042ccd0000","uid":"5d5db31a-7cc8-48ef-9048-9efb0f2dbed8","resourceVersion":"674","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-0f042ccd0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"74f496fb37d8896745525ddec6e2bb6e652509de","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.3","lke.linode.com/wgpub":"lUNG/px/cKWMC8HAYHLuPuCGvykgpe/ZNEdRWKLAwRk=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"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:allocatable":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.1.0/25","podCIDRs":["10.2.1.0/25"],"providerID":"linode://25175284","taints":[{"key":"lke.linode.com/labels-taints","value":"waiting","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-0f042ccd0000"},{"type":"ExternalIP","address":"97.107.143.131"},{"type":"InternalIP","address":"192.168.161.23"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"864736be2de54d7c84799ef60b81d401","systemUUID":"864736be2de54d7c84799ef60b81d401","bootID":"35d22e5e-2134-4415-9edf-ce3a6d6c7b8f","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7452-7765-1c8078110000","uid":"d013f3b4-3a04-4340-beb9-7aaac7afb4ff","resourceVersion":"687","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-1c8078110000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"6692378d1e034fbc92f8ef40e96caa3252726292","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"s9bXqp5hYFbsGxexYZoUCdbLjcKzszbof1Wk081g1EY=","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.128/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"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:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25175283","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-1c8078110000"},{"type":"ExternalIP","address":"97.107.143.243"},{"type":"InternalIP","address":"192.168.161.46"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"673fa8d4a8ed4380904b82d5ca502361","systemUUID":"673fa8d4a8ed4380904b82d5ca502361","bootID":"4d1bc812-552d-42bd-a2d7-809b35a40ab4","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7452-7765-32284d6a0000","uid":"172d09ff-b953-4b94-8735-fadf57bf3ac5","resourceVersion":"661","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-32284d6a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"bO49S5DxAhZsV9ggnqyzdlJnp49gdQO/4Lni9zMu/3c=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"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":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25175282","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-32284d6a0000"},{"type":"ExternalIP","address":"172.104.221.148"},{"type":"InternalIP","address":"192.168.191.83"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4f62be35842046509b33d9ee54ca1450","systemUUID":"4f62be35842046509b33d9ee54ca1450","bootID":"a97f4eb6-4dac-4377-b4b4-d54696957779","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}}]} headers: Audit-Id: - - 97b041e7-0cae-4c35-b4c2-0dca54e5220e + - 47c16aeb-cb8e-4bdb-8e81-891a7438e5e9 Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea + - b58fbd26-116c-4d6a-983f-ed29537ff051 X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b + - f9f3481f-7557-47b1-bfce-e3741d1b4160 status: 200 OK code: 200 duration: "" @@ -758,23 +149,23 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format - url: https://e3c672fa-eda4-47dc-9073-282a5ccfdbc0.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format + url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"894"},"items":[{"metadata":{"name":"lke7332-7625-1d36641e0000","uid":"f8b1330f-9fa7-4a84-87bc-84b2543952c9","resourceVersion":"892","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-1d36641e0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"03530127a19b0fa7234dec4175db15f25a2adce1","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east","topology.linode.com/region":"us-east"},"annotations":{"csi.volume.kubernetes.io/nodeid":"{\"linodebs.csi.linode.com\":\"25165073\"}","kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"KUkgkub2ZfreyuEcAahFdlg2DIZSGo7M0dECXoc/SyQ=","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/25\"":{}}}}},{"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","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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"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:metadata":{"f:annotations":{"f:csi.volume.kubernetes.io/nodeid":{}},"f:labels":{"f:topology.linode.com/region":{}}},"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/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25165073"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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":"lke7332-7625-1d36641e0000"},{"type":"ExternalIP","address":"143.42.180.29"},{"type":"InternalIP","address":"192.168.242.142"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"48a14acdf6264f63af861d99d40ac5ef","systemUUID":"48a14acdf6264f63af861d99d40ac5ef","bootID":"cfba2c5c-478e-4e85-b799-303c4616fac6","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["docker.io/calico/cni@sha256:a38d53cb8688944eafede2f0eadc478b1b403cefeff7953da57fe9cd2d65e977","docker.io/calico/cni:v3.25.0"],"sizeBytes":87984941},{"names":["docker.io/bitnami/kubectl@sha256:c4a8d9c0cd9c5f903830ea64816c83adf307ff1d775bc3e5b77f1d49d3960205","docker.io/bitnami/kubectl:1.16.3-debian-10-r36"],"sizeBytes":65850129},{"names":["docker.io/linode/kube-proxy-amd64@sha256:1b0dd4309665fc3803e4a617cd777a8437fc7d18c4604988c6bd68176bbeb17a","docker.io/linode/kube-proxy-amd64:v1.28.9"],"sizeBytes":28114606},{"names":["docker.io/linode/linode-blockstorage-csi-driver@sha256:944e3e6351ca3186e5d8faf0a1b9765c4d759903617f7d5cc1086d58d7c7dd97"],"sizeBytes":13754364},{"names":["docker.io/linode/csi-node-driver-registrar@sha256:9622c6a6dac7499a055a382930f4de82905a3c5735c0753f7094115c9c871309","docker.io/linode/csi-node-driver-registrar:v1.3.0"],"sizeBytes":7717137},{"names":["docker.io/calico/pod2daemon-flexvol@sha256:01ddd57d428787b3ac689daa685660defe4bd7810069544bd43a9103a7b0a789","docker.io/calico/pod2daemon-flexvol:v3.25.0"],"sizeBytes":7076045},{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7332-7625-4527543a0000","uid":"516732da-143b-440c-8502-fc0268bb29c8","resourceVersion":"838","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4527543a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"j1OfGU8UZrb0sB9sOxAL5LQrbtLlw764KCTlKonJPkQ=","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.128/25\"":{}}}}},{"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":"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":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"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":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25165072"},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026160Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923760Ki","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":"lke7332-7625-4527543a0000"},{"type":"ExternalIP","address":"143.42.180.26"},{"type":"InternalIP","address":"192.168.242.133"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4a8a5f365882450c998d4bab09f3d16d","systemUUID":"4a8a5f365882450c998d4bab09f3d16d","bootID":"51ee1328-0a18-43b8-afbe-f885df286956","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7332-7625-4f06fd870000","uid":"e0b3532b-5c5a-46fe-8572-4242b2b03eab","resourceVersion":"878","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":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7332-7625-4f06fd870000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7625","node.k8s.linode.com/host-uuid":"2e8c6f5e2c38ef3261c570ae22ac2b65435af20b","node.kubernetes.io/instance-type":"g6-standard-2","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.3","lke.linode.com/wgpub":"A6JTx7Cd15edQ0VDt5m6lpfIh0Lky8mGq6O+dQan+2k=","node.alpha.kubernetes.io/ttl":"0","volumes.kubernetes.io/controller-managed-attach-detach":"true"},"managedFields":[{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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":"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"},{"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/25\"":{}},"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.1.0/25","podCIDRs":["10.2.1.0/25"],"providerID":"linode://25165074","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoExecute","timeAdded":"2018-01-02T03:04:05Z"}]},"status":{"capacity":{"cpu":"2","ephemeral-storage":"82486728Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"4026152Ki","pods":"110"},"allocatable":{"cpu":"2","ephemeral-storage":"76019768399","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"3923752Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7332-7625-4f06fd870000"},{"type":"ExternalIP","address":"143.42.180.43"},{"type":"InternalIP","address":"192.168.242.145"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4074f1da59194890903e3b9edf941d4c","systemUUID":"4074f1da59194890903e3b9edf941d4c","bootID":"d3aeff59-4c5f-433a-91d4-179a46f17743","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.28.3","kubeProxyVersion":"v1.28.3","operatingSystem":"linux","architecture":"amd64"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"779"},"items":[{"metadata":{"name":"lke7452-7765-0f042ccd0000","uid":"5d5db31a-7cc8-48ef-9048-9efb0f2dbed8","resourceVersion":"751","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-0f042ccd0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"74f496fb37d8896745525ddec6e2bb6e652509de","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.3","lke.linode.com/wgpub":"lUNG/px/cKWMC8HAYHLuPuCGvykgpe/ZNEdRWKLAwRk=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"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:allocatable":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.1.0/25","podCIDRs":["10.2.1.0/25"],"providerID":"linode://25175284","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-0f042ccd0000"},{"type":"ExternalIP","address":"97.107.143.131"},{"type":"InternalIP","address":"192.168.161.23"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"864736be2de54d7c84799ef60b81d401","systemUUID":"864736be2de54d7c84799ef60b81d401","bootID":"35d22e5e-2134-4415-9edf-ce3a6d6c7b8f","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7452-7765-1c8078110000","uid":"d013f3b4-3a04-4340-beb9-7aaac7afb4ff","resourceVersion":"778","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-1c8078110000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"6692378d1e034fbc92f8ef40e96caa3252726292","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"s9bXqp5hYFbsGxexYZoUCdbLjcKzszbof1Wk081g1EY=","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.128/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"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:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"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.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25175283"},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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":"lke7452-7765-1c8078110000"},{"type":"ExternalIP","address":"97.107.143.243"},{"type":"InternalIP","address":"192.168.161.46"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"673fa8d4a8ed4380904b82d5ca502361","systemUUID":"673fa8d4a8ed4380904b82d5ca502361","bootID":"4d1bc812-552d-42bd-a2d7-809b35a40ab4","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["docker.io/calico/cni@sha256:a38d53cb8688944eafede2f0eadc478b1b403cefeff7953da57fe9cd2d65e977","docker.io/calico/cni:v3.25.0"],"sizeBytes":87984941},{"names":["docker.io/bitnami/kubectl@sha256:c4a8d9c0cd9c5f903830ea64816c83adf307ff1d775bc3e5b77f1d49d3960205","docker.io/bitnami/kubectl:1.16.3-debian-10-r36"],"sizeBytes":65850129},{"names":["docker.io/linode/kube-proxy-amd64@sha256:64d1b8b0b99b1d199c88916feb2fb03e6b003e71a9f24e5e4b6d1dd116d595d6","docker.io/linode/kube-proxy-amd64:v1.29.4"],"sizeBytes":28405965},{"names":["docker.io/linode/csi-node-driver-registrar@sha256:9622c6a6dac7499a055a382930f4de82905a3c5735c0753f7094115c9c871309","docker.io/linode/csi-node-driver-registrar:v1.3.0"],"sizeBytes":7717137},{"names":["docker.io/calico/pod2daemon-flexvol@sha256:01ddd57d428787b3ac689daa685660defe4bd7810069544bd43a9103a7b0a789","docker.io/calico/pod2daemon-flexvol:v3.25.0"],"sizeBytes":7076045},{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7452-7765-32284d6a0000","uid":"172d09ff-b953-4b94-8735-fadf57bf3ac5","resourceVersion":"735","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-32284d6a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"bO49S5DxAhZsV9ggnqyzdlJnp49gdQO/4Lni9zMu/3c=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"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:allocatable":{"f:ephemeral-storage":{}},"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/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25175282"},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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":"lke7452-7765-32284d6a0000"},{"type":"ExternalIP","address":"172.104.221.148"},{"type":"InternalIP","address":"192.168.191.83"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4f62be35842046509b33d9ee54ca1450","systemUUID":"4f62be35842046509b33d9ee54ca1450","bootID":"a97f4eb6-4dac-4377-b4b4-d54696957779","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}}]} headers: Audit-Id: - - 725b3866-37c9-45f8-90ef-633f30782a96 + - e4a463be-5f2c-40e4-bc29-bdcdd6be94ae Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - affd9597-fa49-4927-ac33-19f7f8bb16ea + - b58fbd26-116c-4d6a-983f-ed29537ff051 X-Kubernetes-Pf-Prioritylevel-Uid: - - b4189e81-3f07-47e7-9092-805f9b1eb04b + - f9f3481f-7557-47b1-bfce-e3741d1b4160 status: 200 OK code: 200 duration: "" diff --git a/test/integration/fixtures/TestLKEClusters_List.yaml b/test/integration/fixtures/TestLKEClusters_List.yaml index e3ac3dbbf..69ca022b9 100644 --- a/test/integration/fixtures/TestLKEClusters_List.yaml +++ b/test/integration/fixtures/TestLKEClusters_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -119,7 +119,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-list","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-list","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -128,12 +128,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: POST response: - body: '{"id": 7326, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7459, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -187,12 +187,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters + url: https://api.linode.com/v4/lke/clusters method: GET response: - body: '{"data": [{"id": 7326, "status": "ready", "created": "2018-01-02T03:04:05", + body: '{"data": [{"id": 7459, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "us-east", - "k8s_version": "1.28", "control_plane": {"high_availability": false}, "tags": + "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: @@ -249,7 +249,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7326 + url: https://api.linode.com/v4/lke/clusters/7459 method: DELETE response: body: '{}' diff --git a/test/integration/lke_clusters_test.go b/test/integration/lke_clusters_test.go index 756fec9b3..b79db21d8 100644 --- a/test/integration/lke_clusters_test.go +++ b/test/integration/lke_clusters_test.go @@ -32,7 +32,7 @@ func TestLKECluster_WaitForReady(t *testing.T) { client, cluster, teardown, err := setupLKECluster(t, []clusterModifier{func(createOpts *linodego.LKEClusterCreateOptions) { createOpts.Label = "go-lke-test-wait" createOpts.NodePools = []linodego.LKENodePoolCreateOptions{ - {Count: 3, Type: "g6-standard-2"}, + {Count: 3, Type: "g6-standard-1"}, } }}, "fixtures/TestLKECluster_WaitForReady") defer teardown() @@ -99,7 +99,8 @@ func TestLKECluster_Update(t *testing.T) { // Update the LKE cluster to HA // This needs to be done in a separate API request from the K8s version upgrade - updatedControlPlane := &linodego.LKEClusterControlPlane{HighAvailability: true} + isHA := true + updatedControlPlane := &linodego.LKEClusterControlPlaneOptions{HighAvailability: &isHA} updatedCluster, err = client.UpdateLKECluster(context.Background(), cluster.ID, linodego.LKEClusterUpdateOptions{ ControlPlane: updatedControlPlane, @@ -108,7 +109,7 @@ func TestLKECluster_Update(t *testing.T) { t.Fatalf("failed to update LKE Cluster (%d): %s", cluster.ID, err) } - if !reflect.DeepEqual(*updatedControlPlane, updatedCluster.ControlPlane) { + if !reflect.DeepEqual(*updatedControlPlane.HighAvailability, updatedCluster.ControlPlane.HighAvailability) { t.Errorf("expected control plane to be updated to %#v; got %#v", updatedControlPlane, updatedCluster.ControlPlane) } } From 8d41d439317b5011bdb425a638cb196d7d3718df Mon Sep 17 00:00:00 2001 From: Lena Garber Date: Wed, 3 Jul 2024 16:57:59 -0400 Subject: [PATCH 3/8] Fix tests and re-run relevant fixtures --- instances.go | 3 + .../TestLKECluster_APIEndpoints_List.yaml | 54 ++- .../TestLKECluster_Dashboard_Get.yaml | 47 +-- .../fixtures/TestLKECluster_GetFound.yaml | 41 +- .../fixtures/TestLKECluster_GetMissing.yaml | 6 +- .../TestLKECluster_Kubeconfig_Get.yaml | 123 ++---- .../TestLKECluster_Nodes_Recycle.yaml | 39 +- .../fixtures/TestLKECluster_Update.yaml | 47 +-- .../fixtures/TestLKECluster_WaitForReady.yaml | 80 ++-- .../TestLKECluster_WaitForReady_Cluster.yaml | 72 ++-- .../fixtures/TestLKECluster_withACL.yaml | 395 +++++------------- .../fixtures/TestLKEClusters_List.yaml | 44 +- .../fixtures/TestLKENodePool_GetMissing.yaml | 4 +- .../fixtures/TestLKENodePool_Update.yaml | 85 ++-- .../fixtures/TestLKENodePools_List.yaml | 79 ++-- .../fixtures/TestLKEVersion_GetFound.yaml | 2 - .../fixtures/TestLKEVersion_GetMissing.yaml | 4 +- .../fixtures/TestLKEVersions_List.yaml | 4 +- test/integration/instances_test.go | 3 +- test/integration/main_test.go | 3 +- 20 files changed, 418 insertions(+), 717 deletions(-) diff --git a/instances.go b/instances.go index 37a78c239..6eb7d1e02 100644 --- a/instances.go +++ b/instances.go @@ -65,6 +65,9 @@ type Instance struct { // NOTE: Placement Groups may not currently be available to all users. PlacementGroup *InstancePlacementGroup `json:"placement_group"` + + DiskEncryption InstanceDiskEncryption `json:"disk_encryption"` + LKEClusterID int `json:"lke_cluster_id"` } // InstanceSpec represents a linode spec diff --git a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml index dac8a8e34..8cf9ca8c7 100644 --- a/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml +++ b/test/integration/fixtures/TestLKECluster_APIEndpoints_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/regions + url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -128,10 +133,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7456, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7873, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-apiend", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -147,8 +152,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "242" Content-Security-Policy: @@ -187,7 +190,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7456/api-endpoints + url: https://api.linode.com/v4beta/lke/clusters/7873/api-endpoints method: GET response: body: '{"errors": [{"reason": "Cluster API Endpoints are not yet available. Please @@ -199,8 +202,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "96" Content-Type: @@ -217,7 +218,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -230,12 +231,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7456/api-endpoints + url: https://api.linode.com/v4beta/lke/clusters/7873/api-endpoints method: GET response: - body: '{"page": 1, "pages": 1, "results": 4, "data": [{"endpoint": "https://fbb841d7-aa0a-4afd-89c7-0cf907d5fea1.cpc1-cjj1-testing.linodelke.net:443"}, - {"endpoint": "https://fbb841d7-aa0a-4afd-89c7-0cf907d5fea1.cpc1-cjj1-testing.linodelke.net:6443"}, - {"endpoint": "https://172.234.1.81:443"}, {"endpoint": "https://172.234.1.81:6443"}]}' + body: '{"page": 1, "pages": 1, "results": 4, "data": [{"endpoint": "https://2b31f7ad-4814-454b-9f5f-38f8c7bb4a50.cpc1-cjj1-testing.linodelke.net:443"}, + {"endpoint": "https://2b31f7ad-4814-454b-9f5f-38f8c7bb4a50.cpc1-cjj1-testing.linodelke.net:6443"}, + {"endpoint": "https://207.192.68.214:443"}, {"endpoint": "https://207.192.68.214:6443"}]}' headers: Access-Control-Allow-Credentials: - "true" @@ -250,10 +251,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "329" Content-Security-Policy: - default-src 'none' Content-Type: @@ -263,6 +260,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -291,7 +289,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7456 + url: https://api.linode.com/v4beta/lke/clusters/7873 method: DELETE response: body: '{}' @@ -308,8 +306,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml index c10bfc5f7..3aa82a860 100644 --- a/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Dashboard_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/regions + url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -128,10 +133,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7458, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7875, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -147,8 +152,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "240" Content-Security-Policy: @@ -187,10 +190,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7458 + url: https://api.linode.com/v4beta/lke/clusters/7875 method: GET response: - body: '{"id": 7458, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7875, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-dash", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -207,8 +210,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "240" Content-Security-Policy: @@ -248,10 +249,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7458/dashboard + url: https://api.linode.com/v4beta/lke/clusters/7875/dashboard method: GET response: - body: '{"url": "https://5d026680-6439-49a1-9ca9-0408aba5f076.dashboard.cpc1-cjj1-testing.linodelke.net"}' + body: '{"url": "https://60677a04-30ea-4106-854a-5b7d3db482ae.dashboard.cpc1-cjj1-testing.linodelke.net"}' headers: Access-Control-Allow-Credentials: - "true" @@ -266,8 +267,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "97" Content-Security-Policy: @@ -307,7 +306,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7458 + url: https://api.linode.com/v4beta/lke/clusters/7875 method: DELETE response: body: '{}' @@ -324,8 +323,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKECluster_GetFound.yaml b/test/integration/fixtures/TestLKECluster_GetFound.yaml index da5a09a0a..0d9bd10d2 100644 --- a/test/integration/fixtures/TestLKECluster_GetFound.yaml +++ b/test/integration/fixtures/TestLKECluster_GetFound.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/regions + url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -128,10 +133,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7453, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7870, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -147,8 +152,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "241" Content-Security-Policy: @@ -187,10 +190,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7453 + url: https://api.linode.com/v4beta/lke/clusters/7870 method: GET response: - body: '{"id": 7453, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7870, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-found", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -207,8 +210,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "241" Content-Security-Policy: @@ -248,7 +249,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7453 + url: https://api.linode.com/v4beta/lke/clusters/7870 method: DELETE response: body: '{}' @@ -265,8 +266,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKECluster_GetMissing.yaml b/test/integration/fixtures/TestLKECluster_GetMissing.yaml index a34b87c8d..c830e0cdf 100644 --- a/test/integration/fixtures/TestLKECluster_GetMissing.yaml +++ b/test/integration/fixtures/TestLKECluster_GetMissing.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/0 + url: https://api.linode.com/v4beta/lke/clusters/0 method: GET response: body: '{"errors": [{"reason": "Not found"}]}' @@ -24,8 +24,6 @@ interactions: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - Connection: - - keep-alive Content-Length: - "37" Content-Type: @@ -42,6 +40,6 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 404 NOT FOUND + status: 404 Not Found code: 404 duration: "" diff --git a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml index 099ea6d74..ba07249e0 100644 --- a/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml +++ b/test/integration/fixtures/TestLKECluster_Kubeconfig_Get.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/regions + url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -128,10 +133,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7457, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7874, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' @@ -148,8 +153,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "244" Content-Security-Policy: @@ -188,10 +191,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7457 + url: https://api.linode.com/v4beta/lke/clusters/7874 method: GET response: - body: '{"id": 7457, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7874, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-kube-get", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' @@ -209,8 +212,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "244" Content-Security-Policy: @@ -250,7 +251,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7874/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -262,8 +263,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -280,7 +279,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -293,7 +292,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7874/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -305,8 +304,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -323,7 +320,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -336,7 +333,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7874/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -348,8 +345,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -366,7 +361,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -379,7 +374,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7874/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -391,8 +386,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -409,7 +402,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -422,7 +415,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7874/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -434,8 +427,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -452,7 +443,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -465,53 +456,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7457/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7874/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: - - '*' - Connection: - - keep-alive - 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: - - "400" - 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/v4/lke/clusters/7457/kubeconfig - method: GET - response: - body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlIwWm5ZbVJCZFVzdmVUUjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk1VMXFUWGhPYWtFMFRrUnNZVVozTUhwT1JFRXhUV3BGZUU1cVJYcE9SR3hoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVTnhTMDEzYWprMmNVRTVXRWhWVnk5MVZEZ3ZXalk0ZVRaWGVrNHhXSGQzVHl0NVYzZ3lSVGsyVDNkVE5pdHJlRW9yVFZreWNuTlNWbW9LZDBscmVIbFVWV2hrUWsxd2FITm9OMjVzU1VsdWRWSjBhREZQVkhOWVNFOVhPSFJwYjFGUGRrTlpVMmc1VnpCT016Rkxaa0pYUjBsc1prRlJXWFp2UWdwUVRsTTRhVlpFYVdsUFpWQk5RMFk1Y0hwaFJsZFFXVlppZFUwMFVTOXNSMFVyYW5wQlRtUlVNbXhETW1wdVREWkxNSFphZVZObWNEVmpSelJXVTJVekNuVnlVVEpOVDFZMk9XMTRkRE5QVG1JeGRqaGljVkZRV1hONk4zVjBaMU5oYVU1bGNWaE9TSFJSY2t0NFVtTnNiR2hIYjJaUU5rNTRiWEI0T1dKclpGTUtkMWhCSzBWS2NIVmpUVmh6TVc1SkwxUmtkVGwzWVd0RmEzbG9iMjVpUTBwMFJHZERhR1JrWVN0bVVUTnJjWFJwVVdsVlJEWnRXVkJEYTI5NWVWQkNSUXBrYXk5Uk9YTXpVWGxEUWtKVWQyaG1SVEZZVFdKcmVqZHNMMmxFUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pUVVZaVFZVZFpPV3hvTXl0Vk1ITnBiR0p2Um1abU0xSnZRMUpVUVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlExZFdZV2xaTVhGVmF3cGxjSGxVYkZGeWFXUkhUWEF5VlZaTFFucHRTREZEWms5U2FXcG1kVWRaU2xGdU4xUXZWRTF0Y2s5ck1XbHVOWHAwYmtGaWJqaE5NRU50TTJGM2JFWllDbHBuVFU4MlYyOUZiMlprWlVjelJITnpiV2RCU1hsdVpqRmFjVzFtV2tGakwxYzJLMkpCYjFWUWRIcDFUWFZRV2t0dmJsRjZlSEZFT1dwSlZVMXROR0VLYUZNcmJVUnpha0V2UTFGNU9HWXdUamMzYTFSYWVtUnpXbUpKU2pOTkwxSklkWGd5VmxNeFMxZHFUM05tS3pGcVNEaEtTVU55ZUhSbVZYazJXVnBPZGdwWWFsbGxNbTFuTlRoWWVXTm9kSEJLYTNwc1VrTjZlRVZGUVhNdmEwaHdSbWRtTlM5WFNuTkJSbFpVWjNVeGEyaEdOREZQZVdVNE9EUkROeXRFVFRCUUNta3ZUREpxV2poVE1USk9RM0pYWVhsbU1VNW1jVTQyYVdjNVJtbHFZMUZXWVRCT2VUZHpPRGN3VTFwbU5qVkJSemQ2ZGxGTWVUTmpVWEEwUnpONWNWQUtZVGMyU2xJelRsbFNObWRMQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vMzA1Y2M2N2YtMzU4Yy00NjI0LTliYzEtMjhiMWUzZTk5NDY2LmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzQ1NwoKdXNlcnM6Ci0gbmFtZTogbGtlNzQ1Ny1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJa2hrZFRab2NXUm5SM1pWTkRoaFlsOUJNMnhLV0V4Q2RtTldZMGh3TldoTmRFWnJhV055WmtWeFVWa2lmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dFlqWTJZbU1pTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pWWpVM09EZGxOV010TnpReE1DMDBNalkzTFdGaU5qTXRPR1psTWpJek16Y3dZbVZqSWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5Lmg3LWFxSUV0VmVCRXlscDVsVmY3a1drVFJLN3ZocHFQUDNFb1J3YTBJWUx5WnlQbnAwZkVkaXJ1dFlVTFVBdVEzREdybnJGRUk0cnd6cDJGR3BfNC1ZanBnT2FMeURha3FlOWROTTl2Zkl2MzV4bndQS2dLZ3hDNGQ5Q1VmMXA2bGpOTHE3MVR2cVoyY084a3pFRzRodmZwT3hnUEJIckNtdzJvYUJjb0lfOUU0ODNkWUtVc0liQmxyUV94VHc2VlE5Y3k0VDVjZmM3bUVYNDlWalRvUWJkaHAtT2VKZkl6bGRjSk9paGFnbnB2QW9ZcmZ0UmZRVXNJRENvd3hyVHd6S1Q3U3RCX1pnZ3A4cDJ2VWpHemtvNUVNWlczUThFVDNhMWx1QXM3blFyWUdpa2FhdHQ4WlpXazlUUmZ0V3QyQWFYbTBiczk1azRMM19xYUtKUTl1UQoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTc0NTcKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzQ1Ny1hZG1pbgogIG5hbWU6IGxrZTc0NTctY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTc0NTctY3R4Cg=="}' + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlJqRjFaMlZxVFROVE5qUjNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk0wMUVUWGxOUkVrd1RWUlNZVVozTUhwT1JFRXpUVVJGZVUxRVNUVk5WRkpoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVTXdPREJCUXpSUlQwbEtLek5uWkc1aGVqVm1VVkJuZFdjNWVYUlJTV2xOU1daRGFEZFlTSEpQTTJrcmMzWlhjM000VDBZeFRYWlhObGdLSzBGRGJFWjRlRlJJVW01dmQzQldObVExZWtOVGFHbFdhM1ZhTkM4NFMxazNUV292V0hGWVpuWTJiRzFpV1ZFMmVreDZVVEJsWVdWV2NuaE1PR2hOV1FwbWMyUXllVEJDYWtOelRHZElhVFZyYWpOM1IxWktSbnAwYzFGbmJHTjNPREpvWlhSTmVXTlhkMG96UjJkTFJERlllbXR0YVVObk4zUnJhMDFSTkhWSkNsQnJjR3AyYUZCclIyb3hNemR0V0ZaRmFtbGhjMjlSV2tKa2FGWjBWbGg0VVZWdFZtZENNVmhHV2xKRVYzaHZVV2xoZEVOaVZYRnhVMXB3WW5WdU5VRUtVazlRT0V4QldFSXJjR0l6Tmpob2RUUkVTMWxhUVVad05GUXdlbVJFUzFNNWJYZDFUVzlTUjFWc1FrbHRlVk15WjFVMVdYTmFZMkYxV0hCaVZYSmpjZ3AwTkhwV01VNUdLMWR3ZVhaNGRYcFBXa05QT0V0RlVGRm9ZVmczUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pUYkZCcU5VeHBVemd6VG1SS2NYVXljSGRqZFhBd09VeHJVVlJFUVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlEyUk1OV2MwWmxsWFJncERTVmxqU25aeGRtZG1TamhNVGpWRlVIaHFUVFEyU1Vsc1VrZFhRVVJRWTBoT1ZFaFdMMFUwVVc5cFYxTTBOMk5XTDI0MFpWZDRNMlUyVmxvNVJEQlBDbVJwVWpWMlVFSnZaa2t5UVdKb2RrdGllRlJvUTBsRWVsVk1WRWxOTlZORVltSnlTVnBpYTA1SlQybEhhVTU0T1VKWVlXSjJNMEZoZUZFMlJXSjRkekVLZUdndmFtOXFiV3AzUmpSWE5IUnJjRkJxTVRSck5rOUpNbk5vUlZsNFJFTlNhV0ZoSzNoNmEwdE1NMGRvYldGbllucGhiVGhEU1ZKWmRreE1aMFU1VmdwUlVuTnFTMFV4VFhaMWNqbGFjbmx5VDBadFN5dHRhREp4YzFaUlZWWTJia2hEV0UxT09XUTVSbVYxWjA1eWQzUmpOMDVIT0hObldHTnRkazFrVFZOM0NuaGFkMU5wUkhWamJIUmpTRzh4VnpWUE5Vc3JaMEZvWlhJMFVUWm1TMHBUU3pKSmNGRjNUMFV3ZVdoWE4weDFlVEpyZFhsMVNFOXZXSE5GVG1wUllVRUtWamMyY0VwblIyVkJiRGh3Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vNWI2Y2ExY2ItYzEwZS00ODJjLTg4MTctNWYwZGI4ZjUzMmViLmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzg3NAoKdXNlcnM6Ci0gbmFtZTogbGtlNzg3NC1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJalpYYUVoQk4ySkxRV2RuZVZSalFqSkxkVkJIUmkxc2MwUnZVWFpSTWtRNFFrVkllR3N4Y0dscGQzY2lmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dGFubzNkMlFpTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pT0RObU1qazBPRE10TlRFM1pDMDBaRFZsTFdKbU16QXRNVE00WkRKa01tUm1PVGN6SWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5LlNic1pONTdJdVdfX2g4dTY0UDZ4T2N3dEkzQXp2SG9WZlVKUHVlWlZXZ3V6VHJ5U3lEQjl6cHQ1OFVqMWlYN1NvcXN6MHZ4dzJTY1pTNFFhbHdYSnExS0M2bm1ELXExV28tUGJKYkdDbU5SSnZjT1VDZ2VEd1JaUGdzSkJubU1LYXZwenJyWE1IcEpFZ18zLVg4cGd0RlJibmtSS21hdXdoaktTaVVvUHJiX2R6ZjdsZ3hwQ0xfOVNiQlR4dFY3eWdaNHpoVnBPTDdkWHlkYXctWFNjZjZIZF80NjN2Y2FRS1NDRG1tVE03X0ctazZwbXpnQlJCb3NKa3FXTjF6emI5eDJCZFlsMHZxTHVNck9qeHZnZnAzeHR6dG81ZkZXN0hXYnNpZEJZNWNNOFJvR2gydnZGSHBJNml0TF9oeEhIcF8xS0p4TU1uZGJ5bU52YU9CVVZ4dwoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTc4NzQKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzg3NC1hZG1pbgogIG5hbWU6IGxrZTc4NzQtY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTc4NzQtY3R4Cg=="}' headers: Access-Control-Allow-Credentials: - "true" @@ -526,10 +474,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "3774" Content-Security-Policy: - default-src 'none' Content-Type: @@ -539,6 +483,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -567,7 +512,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7457 + url: https://api.linode.com/v4beta/lke/clusters/7874 method: DELETE response: body: '{}' @@ -584,8 +529,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml index 36515c7ca..074bb7bba 100644 --- a/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml +++ b/test/integration/fixtures/TestLKECluster_Nodes_Recycle.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/regions + url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -128,10 +133,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7455, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7872, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-recycle", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' @@ -148,8 +153,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "243" Content-Security-Policy: @@ -188,7 +191,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7455/recycle + url: https://api.linode.com/v4beta/lke/clusters/7872/recycle method: POST response: body: '{}' @@ -205,8 +208,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -245,7 +246,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7455 + url: https://api.linode.com/v4beta/lke/clusters/7872 method: DELETE response: body: '{}' @@ -262,8 +263,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKECluster_Update.yaml b/test/integration/fixtures/TestLKECluster_Update.yaml index 7dd42f1c7..e18b7442f 100644 --- a/test/integration/fixtures/TestLKECluster_Update.yaml +++ b/test/integration/fixtures/TestLKECluster_Update.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/regions + url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -128,10 +133,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7454, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7871, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -147,8 +152,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "242" Content-Security-Policy: @@ -187,10 +190,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7454 + url: https://api.linode.com/v4beta/lke/clusters/7871 method: PUT response: - body: '{"id": 7454, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7871, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update-updated", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["test=true"]}' @@ -207,8 +210,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "252" Content-Security-Policy: @@ -247,10 +248,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7454 + url: https://api.linode.com/v4beta/lke/clusters/7871 method: PUT response: - body: '{"id": 7454, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7871, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-update-updated", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": true}, "tags": ["test=true"]}' @@ -267,8 +268,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "251" Content-Security-Policy: @@ -307,7 +306,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7454 + url: https://api.linode.com/v4beta/lke/clusters/7871 method: DELETE response: body: '{}' @@ -324,8 +323,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml index 59fccd236..fd416ea91 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/regions + url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -128,10 +133,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7452, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7869, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-wait", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -147,8 +152,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "240" Content-Security-Policy: @@ -187,7 +190,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7869/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -199,8 +202,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -217,7 +218,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -230,7 +231,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7869/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -242,8 +243,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -260,7 +259,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -273,7 +272,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7869/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -285,8 +284,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -303,7 +300,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -316,7 +313,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7869/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -328,8 +325,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -346,7 +341,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -359,7 +354,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7869/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -371,8 +366,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -389,7 +382,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -402,7 +395,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7869/kubeconfig method: GET response: body: '{"errors": [{"reason": "Cluster kubeconfig is not yet available. Please @@ -414,8 +407,6 @@ interactions: - HEAD, GET, OPTIONS, POST, PUT, DELETE Access-Control-Allow-Origin: - '*' - Connection: - - keep-alive Content-Length: - "92" Content-Type: @@ -432,7 +423,7 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 503 SERVICE UNAVAILABLE + status: 503 Service Unavailable code: 503 duration: "" - request: @@ -445,10 +436,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7452/kubeconfig + url: https://api.linode.com/v4beta/lke/clusters/7869/kubeconfig method: GET response: - body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSldGSlNUalZwTkZWbE1FMTNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk1VMXFUWGhPYWtFeFRWUk9ZVVozTUhwT1JFRXhUV3BGZUU1cVJYZE5WRTVoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVUmxUakJRVkhsRGRqbEdNVFE0TTNWcmVXOHZkVTlETlVoSlMyWXljRTlRVm5SUWFIZHZaaXMyUlc1aWQydFpZMkpPY0ZCRk1qVnVPRkFLVm5aSllVOU1UbmhsSzNwb2JrVkRPVzgwTUVnNFpYQTBlbHBEU0RVdlNFWmhRM1Z5TXk4NGNHa3JlRnBhWVRZM1kySnJkMUZ3ZUcxNFdUZ3pWbE5QYkFwSGRYcFdjRk4wU25GdmRWZDZkV3BWY1dnMU5uSkhNRGhLVXpRclMzWjJkSGRRUkRjemNuWnBjMnR5TmtsemFVNTBiMjh4TldOMWNVOW5hSEpoV1ZaWENrUmljWFJ3TUZoRVdGVTFibGxrZG1ScFoxSlViblU0TUdaVU9XdFRkblZITTNOalUyUlFOVmRJTnpkQlpXZEJZWEJpZVZaSGMxWTBVMU5HY1hKaFZqVUtUWHBYVGxBeldtaExXRU5yWkc5clRscHJhV2R3UTBWWU1XbERSM2g1VWtjeWMzUTRlbEJ6ZEN0NFVHOXRNVTVzVG5CbmEwSlFibTlWVEVwT1FsWXdiZ3BDUWpaalFXMXJaWFUwTlV0UE1scFhVVGRGU1hsU2FERm1XSHBZUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pUYUU1SlN6UjRkMkZ2VVdKeldWZEpRV0Z4WkcxdFNqRjFSRUo2UVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlEwTnZaMlJtTTNwNk9BbzRZblZsWms5UkwwNDVURWxHTXpSbmVHcElVM0JKU1RWR2RYSlRORXRNZVhoS1FtMXJTMU01TVVvMVdUSXlWMFVyZFZnNGVGWnNVMk5tVEdOT1kyOWlDbmRrT1hvM2NrNVFRbEZyVFVZNU5Fc3ZPRmxtYmxGQlZsZ3hjM2MxTkhCWVNFTnVNVUZGT1ZoNVRUUkdOMGhMYVVGNWFVaDZXRkZPZFZWdlFuUTFSSGNLVTNwVWRsbDZlVU01WTJGUlFVdENRVUpuTUVoSGNrbFdPRWh4UmxORFVuRXpNMWM0SzFsS2FtUnFha2xEWm1kTlpsUkRibmx2V1hoRWVrRTNiSHBzYVFveVVXaFdlVGxVY2psWlRYaEJNeTlWSzA1c01VeFpPR1paU1VsNkwxQktOSEprSzBWVU1EbHBaM2RhWjJwRFpXZHRlV1JsU2k5Sk9FcFJPR1p5TjNWakNqQlNSazFXYjBWUmNYcDZURVJQTDFCYU5WaHFUR3hXTldWRVdWRnlTa2xCYzBoeU5tSnVhbmxDVjB0M1pFWkZabFpPU2pkMFEwOVdVRGxrWW5CWVMwa0tNa3BQZVROcE5WUXpjbGhqQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vODdjMWI4MzYtOGZlZS00NDNjLWJiYmMtNzRhYzg0ODE3MTg5LmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzQ1MgoKdXNlcnM6Ci0gbmFtZTogbGtlNzQ1Mi1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJbXRLUTFwc2JHMTVZbUkxVUZoNGNEWnFTbTAzWTB0d1QybFphWFUzWkV4dlJsbE5VVFUzTnpKa1dFVWlmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dE5tWTBhamtpTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pWmpsaU5EQmhZVGN0T1dObFpTMDBaVEF3TFRrME9UY3ROV1U0WkRkaU4yTTJOalV4SWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5Lmd3cnBQRkwzYnJqcnFUSGtWeWxuSVZwLU85Qm01d2l0TS1SSi1xbnIxX1JCR214QklGX0VEeWF4cDRtNl9POUgxdnNiV1lMM3JGb0lhU1FiZnVfT1pHdmZUQURGWlpLbVpNYjdLRnBENEpsVm0tN3RSSHRDb3Y1SkNpRllsRGVodjUwMzJyUmFOcmFTUGR6STRtMEFpYV9WT1AwejNYNERFYk0wSy1qQnhyUFctWmI5NXl1SzlFdWVaY3NJVjdScEp2V2pUWTNwZzFfbXl0YWVJMjhUZGtuLThRMFVnSzJSYWNuRWFwNlpOcWpVZEx2bzZoaXBGQ0lIT3VrMkd6aWNCalNJOGVrRG1qcXhxdlNOLW5ZS0RubENFVVJSODdraW5rWUh6a2YxbnZSTUtBTzNmdFdrZUZ4VTBCNklRLURHNm9iX3VLckllU3FicVpxLTV3M05KQQoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTc0NTIKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzQ1Mi1hZG1pbgogIG5hbWU6IGxrZTc0NTItY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTc0NTItY3R4Cg=="}' + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlYxZDBOVkJrYzFGR1NHOTNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk0wMUVUWGxOUkVsM1RrUnNZVVozTUhwT1JFRXpUVVJGZVUxRVNURk9SR3hoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVTXhWRzlFYjFneGVFWlZZVWM0UVVGeVdITlZabEVyWkhaSGRpdEpXRzV0WlM4MWRXRjRaMlE1TlRoR1ZHMXRLMjlyYzFaR1lWRm9TRTBLYWxScE0ydFFWMFJDZUdOQlZqTXdLMlkyT1RodldXazJiV0ZTVW1neWJESllkV1pEYlVKTlkybHJZbHBQZW5waU5TdGpXVTEyZEdWM1JHVXZSVWw0Y0FwUFoycEtkRGxoVkhvd1Z6aFFZbXhqUW1Oa04wMTFXSEJRVTFkaFRqQXJTV05uVjNseGVGVnZja3R0VEZGck1HTmlVblpQYjJoMVN6UjZVRmxyUzFBd0NteHJhbk5DWkZWUmNVdzJUVUl5TkVOV1IwbHhiMjgyV1RKbmRuWkRkRUZhTTNrcmVqRjVPR3BKWjI5WVpERkdUWGhUVDJKcWFFOXRaR3BzVmpWellra0tUMUZOWkU5eGREbHphVE5YYkc1VVRVTkNkbVZVWkV4Vll6TkxPSGRLVDFkRlN6Z3hSelpIVDJreEt6TllUbEE1VjJsRmIybzRXbEZLUjI1YWRVMW1hUXBFZURCc1JHbDVaU3RtWW5GNEszaFRWRmRaUm1neFNWSnlMMmhLUVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pSVFZaeVNrZDVkMUozU1V4WlozQnFaVEJ1ZUd3dlowbzJZMUI2UVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlEzWnFkazk1Ynpoc05BcFhNbXN4VjFCRlZGbG1jV2RDVEdvNE9HSkRhR3R6U1VSM2JpdFJjbmxxU0RWcldrbzNTVUk0UldoWmVucGxhVWRrV1ZFM1luTnRNakp3V1hCTlZsaFlDbFpLTjNWUlJsWmxZbmwwYkc0eVYxRTFVVFpLU1RFdmJIUnlaV0ZtVEdzd1ExRTJlR0p1VHk5MU5rOW5OMnRZVVdweFVtbE1kMEpDZEdKSVFtTk5WR2tLTjBoclN6bHhaUzlPT0hoTlV6VmlMMnhZWTJoTVNFTmFOR1Y2Y0UxU1kyMXNiMUJ4UkhaRlZVTm9WbGR4VXpKUFkwdExRMVJ3WW1SV1dFcHJUVWxUWWdwRU5VTlFWM0Z4ZDFkdVpHY3JOa0prUzBGTWQzaHJLemhEUlZBMVVtdE5XWEEwU0hFNE1WWjVjR2RsV25OcU1IVllVbWt3ZDNGYVprTXdWVlJQUVhsbkNsVnpURUpSVUhCbmVEWmllRVp1WTFsMmJGTkdZa1IwYWxRNFpFdDRTa001UjFOM2EzVmlTbTlpTnk5eVpUVklNVUZsT0ZoSVdEUnZRbko0TkZKNlpVSUtWekJwZWxwc2NIZ3dPRFZDQ2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vYmVhNWZhZmQtMDM5Mi00OGE4LThkODktZTQyM2UyOGI0ODk4LmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzg2OQoKdXNlcnM6Ci0gbmFtZTogbGtlNzg2OS1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJbHByVGxoVGEzZGhjelZRTlhaRE1XSnlVblJDTUZjemJrUm5iblZtTVV4aE1FNUNabVp3TTA4d2JUZ2lmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dFkyaDBiamtpTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pTW1VNE9URmxNR1l0WlRCbU55MDBOelEyTFRnNE1XUXRZbVJoWVRrNE4yUmpNV1JsSWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5LkFwUGFaWldhZkYtSnZ2bWRwbE9EZ0stN2hjNXhKZ2RfVHI1N2p5ZEFyVFFTWE5EQ3doZlRhNmhTd0hEbXQ4YjZjMEZaaXNzYmJVS3d0S2d5X3VlX0p6UmhzbUZ1Rm8xNktqTTg5U2xDeVpXRm50VlF4dTk0Xzc1dlg1dmhVN3RVUmxENy0zdE1BMDB1WnUyNE1PM3FESjBHbjRkNWNMT3lodFpMWTludjcxYWRPZjZ5MVhtVFZ4Y2xrZ1hDMVFBRDlEd19nT3drTzJra24tMzF3MGtzNmJMZzBLR1J5MEExYzhHb2MyM3FQVGhYbGF3SFhGaDlqZVc0eGpKUU9rUjFHUVhOMnY0VHgySVhjNHdXcnU2NEdjYUVXX0xlS3hqSlZUalIteHRzejV1UkNUNXNCNEF0eUQtU0o4QlRJZ3hxVGw2NlpqbURSZnVFTmR3MnFMRWJFZwoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTc4NjkKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzg2OS1hZG1pbgogIG5hbWU6IGxrZTc4NjktY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTc4NjktY3R4Cg=="}' headers: Access-Control-Allow-Credentials: - "true" @@ -463,10 +454,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "3774" Content-Security-Policy: - default-src 'none' Content-Type: @@ -476,6 +463,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -504,7 +492,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7452 + url: https://api.linode.com/v4beta/lke/clusters/7869 method: DELETE response: body: '{}' @@ -521,8 +509,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml b/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml index 6ba2f801e..2ef218f15 100644 --- a/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml +++ b/test/integration/fixtures/TestLKECluster_WaitForReady_Cluster.yaml @@ -8,15 +8,15 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format - url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://bea5fafd-0392-48a8-8d89-e423e28b4898.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"460"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"470"},"items":[]} headers: Audit-Id: - - 8a590d40-7b51-4373-bd06-12a752a7eafb + - a12db8e7-012e-442e-8d85-1ba847120828 Cache-Control: - no-cache, private Content-Length: @@ -24,9 +24,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - b58fbd26-116c-4d6a-983f-ed29537ff051 + - a7def880-6cfb-4d9c-853a-92a77b84d325 X-Kubernetes-Pf-Prioritylevel-Uid: - - f9f3481f-7557-47b1-bfce-e3741d1b4160 + - 4e7a37d0-d51d-4d54-8dc1-0a99e607986f status: 200 OK code: 200 duration: "" @@ -37,15 +37,15 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format - url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://bea5fafd-0392-48a8-8d89-e423e28b4898.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"470"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"484"},"items":[]} headers: Audit-Id: - - c2463000-f9d6-403f-97d2-0ee558358343 + - 2e804f67-0439-4e6b-a5bd-3310bea69cc3 Cache-Control: - no-cache, private Content-Length: @@ -53,9 +53,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - b58fbd26-116c-4d6a-983f-ed29537ff051 + - a7def880-6cfb-4d9c-853a-92a77b84d325 X-Kubernetes-Pf-Prioritylevel-Uid: - - f9f3481f-7557-47b1-bfce-e3741d1b4160 + - 4e7a37d0-d51d-4d54-8dc1-0a99e607986f status: 200 OK code: 200 duration: "" @@ -66,15 +66,15 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format - url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://bea5fafd-0392-48a8-8d89-e423e28b4898.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"474"},"items":[]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"488"},"items":[]} headers: Audit-Id: - - df8030c6-9e17-406f-a4c1-527a2eda3d94 + - ab52c870-8b58-416c-93d4-d72f257ddd6a Cache-Control: - no-cache, private Content-Length: @@ -82,9 +82,9 @@ interactions: Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - b58fbd26-116c-4d6a-983f-ed29537ff051 + - a7def880-6cfb-4d9c-853a-92a77b84d325 X-Kubernetes-Pf-Prioritylevel-Uid: - - f9f3481f-7557-47b1-bfce-e3741d1b4160 + - 4e7a37d0-d51d-4d54-8dc1-0a99e607986f status: 200 OK code: 200 duration: "" @@ -95,23 +95,23 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format - url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://bea5fafd-0392-48a8-8d89-e423e28b4898.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"569"},"items":[{"metadata":{"name":"lke7452-7765-1c8078110000","uid":"d013f3b4-3a04-4340-beb9-7aaac7afb4ff","resourceVersion":"553","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-1c8078110000","kubernetes.io/os":"linux","node.k8s.linode.com/host-uuid":"6692378d1e034fbc92f8ef40e96caa3252726292","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","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.128/25\"":{}}}}},{"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":"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"},{"manager":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25175283","taints":[{"key":"lke.linode.com/labels-taints","value":"waiting","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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 status check may not have completed yet, container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-1c8078110000"},{"type":"ExternalIP","address":"97.107.143.243"},{"type":"InternalIP","address":"192.168.161.46"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"673fa8d4a8ed4380904b82d5ca502361","systemUUID":"673fa8d4a8ed4380904b82d5ca502361","bootID":"4d1bc812-552d-42bd-a2d7-809b35a40ab4","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"}}},{"metadata":{"name":"lke7452-7765-32284d6a0000","uid":"172d09ff-b953-4b94-8735-fadf57bf3ac5","resourceVersion":"569","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-32284d6a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"bO49S5DxAhZsV9ggnqyzdlJnp49gdQO/4Lni9zMu/3c=","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/25\"":{}}}}},{"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":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}}}},"subresource":"status"},{"manager":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"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":{}}}}}]},"spec":{"podCIDR":"10.2.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25175282","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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 status check may not have completed yet, container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-32284d6a0000"},{"type":"ExternalIP","address":"172.104.221.148"},{"type":"InternalIP","address":"192.168.191.83"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4f62be35842046509b33d9ee54ca1450","systemUUID":"4f62be35842046509b33d9ee54ca1450","bootID":"a97f4eb6-4dac-4377-b4b4-d54696957779","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"}}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"528"},"items":[{"metadata":{"name":"lke7869-9253-14bc30040000","uid":"0651d255-1305-4fc3-bce2-23a6e40e2a32","resourceVersion":"527","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7869-9253-14bc30040000","kubernetes.io/os":"linux","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","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/25\"":{}}}}},{"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":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"Ready\"}":{"f:message":{}}}}},"subresource":"status"},{"manager":"linode-cloud-controller-manager-linux","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"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":{}}}}}]},"spec":{"podCIDR":"10.2.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25212187","taints":[{"key":"lke.linode.com/labels-taints","value":"waiting","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51507660Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2027300Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47469459378","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1924900Ki","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:Network plugin returns error: cni plugin not initialized, CSINode is not yet initialized]"}],"addresses":[{"type":"Hostname","address":"lke7869-9253-14bc30040000"},{"type":"ExternalIP","address":"139.144.129.191"},{"type":"InternalIP","address":"192.168.191.65"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f6032e3562c645d5b0b7b5812520b368","systemUUID":"f6032e3562c645d5b0b7b5812520b368","bootID":"d75a46d6-5448-4328-bbc7-1bd999c84f3c","kernelVersion":"6.1.0-22-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.7.18","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"}}}]} headers: Audit-Id: - - 22a8aaea-93f8-457f-9ac8-36fdaeea3edd + - a705b8f6-b0f9-400c-9fb0-2527c4a117a2 Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - b58fbd26-116c-4d6a-983f-ed29537ff051 + - a7def880-6cfb-4d9c-853a-92a77b84d325 X-Kubernetes-Pf-Prioritylevel-Uid: - - f9f3481f-7557-47b1-bfce-e3741d1b4160 + - 4e7a37d0-d51d-4d54-8dc1-0a99e607986f status: 200 OK code: 200 duration: "" @@ -122,23 +122,23 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format - url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://bea5fafd-0392-48a8-8d89-e423e28b4898.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"689"},"items":[{"metadata":{"name":"lke7452-7765-0f042ccd0000","uid":"5d5db31a-7cc8-48ef-9048-9efb0f2dbed8","resourceVersion":"674","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-0f042ccd0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"74f496fb37d8896745525ddec6e2bb6e652509de","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.3","lke.linode.com/wgpub":"lUNG/px/cKWMC8HAYHLuPuCGvykgpe/ZNEdRWKLAwRk=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{},"f:taints":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"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:allocatable":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.1.0/25","podCIDRs":["10.2.1.0/25"],"providerID":"linode://25175284","taints":[{"key":"lke.linode.com/labels-taints","value":"waiting","effect":"NoSchedule"},{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-0f042ccd0000"},{"type":"ExternalIP","address":"97.107.143.131"},{"type":"InternalIP","address":"192.168.161.23"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"864736be2de54d7c84799ef60b81d401","systemUUID":"864736be2de54d7c84799ef60b81d401","bootID":"35d22e5e-2134-4415-9edf-ce3a6d6c7b8f","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7452-7765-1c8078110000","uid":"d013f3b4-3a04-4340-beb9-7aaac7afb4ff","resourceVersion":"687","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-1c8078110000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"6692378d1e034fbc92f8ef40e96caa3252726292","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"s9bXqp5hYFbsGxexYZoUCdbLjcKzszbof1Wk081g1EY=","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.128/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"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:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.0.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25175283","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-1c8078110000"},{"type":"ExternalIP","address":"97.107.143.243"},{"type":"InternalIP","address":"192.168.161.46"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"673fa8d4a8ed4380904b82d5ca502361","systemUUID":"673fa8d4a8ed4380904b82d5ca502361","bootID":"4d1bc812-552d-42bd-a2d7-809b35a40ab4","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7452-7765-32284d6a0000","uid":"172d09ff-b953-4b94-8735-fadf57bf3ac5","resourceVersion":"661","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-32284d6a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"bO49S5DxAhZsV9ggnqyzdlJnp49gdQO/4Lni9zMu/3c=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"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":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25175282","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-32284d6a0000"},{"type":"ExternalIP","address":"172.104.221.148"},{"type":"InternalIP","address":"192.168.191.83"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4f62be35842046509b33d9ee54ca1450","systemUUID":"4f62be35842046509b33d9ee54ca1450","bootID":"a97f4eb6-4dac-4377-b4b4-d54696957779","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"566"},"items":[{"metadata":{"name":"lke7869-9253-14bc30040000","uid":"0651d255-1305-4fc3-bce2-23a6e40e2a32","resourceVersion":"548","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7869-9253-14bc30040000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"9253","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"zCmI2ThOIkbWF5C/RPam95xo4ExM6LklPIhGfOFsTlw=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"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":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"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":"kubelet","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{"f:allocatable":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"}]},"spec":{"podCIDR":"10.2.0.0/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25212187","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51507660Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2027300Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47469459378","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1924900Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7869-9253-14bc30040000"},{"type":"ExternalIP","address":"139.144.129.191"},{"type":"InternalIP","address":"192.168.191.65"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f6032e3562c645d5b0b7b5812520b368","systemUUID":"f6032e3562c645d5b0b7b5812520b368","bootID":"d75a46d6-5448-4328-bbc7-1bd999c84f3c","kernelVersion":"6.1.0-22-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.7.18","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}}]} headers: Audit-Id: - - 47c16aeb-cb8e-4bdb-8e81-891a7438e5e9 + - 329735cb-0c6c-4d7b-a34a-cc757d1165d7 Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - b58fbd26-116c-4d6a-983f-ed29537ff051 + - a7def880-6cfb-4d9c-853a-92a77b84d325 X-Kubernetes-Pf-Prioritylevel-Uid: - - f9f3481f-7557-47b1-bfce-e3741d1b4160 + - 4e7a37d0-d51d-4d54-8dc1-0a99e607986f status: 200 OK code: 200 duration: "" @@ -149,23 +149,23 @@ interactions: Accept: - application/json, */* User-Agent: - - integration.test/v0.0.0 (darwin/arm64) kubernetes/$Format - url: https://87c1b836-8fee-443c-bbbc-74ac84817189.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://bea5fafd-0392-48a8-8d89-e423e28b4898.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes method: GET response: body: | - {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"779"},"items":[{"metadata":{"name":"lke7452-7765-0f042ccd0000","uid":"5d5db31a-7cc8-48ef-9048-9efb0f2dbed8","resourceVersion":"751","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-0f042ccd0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"74f496fb37d8896745525ddec6e2bb6e652509de","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.3","lke.linode.com/wgpub":"lUNG/px/cKWMC8HAYHLuPuCGvykgpe/ZNEdRWKLAwRk=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"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:allocatable":{"f:ephemeral-storage":{}},"f:conditions":{"k:{\"type\":\"DiskPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"MemoryPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"PIDPressure\"}":{"f:lastHeartbeatTime":{}},"k:{\"type\":\"Ready\"}":{"f:lastHeartbeatTime":{},"f:message":{}}},"f:images":{}}},"subresource":"status"},{"manager":"manager","operation":"Update","apiVersion":"v1","time":"2018-01-02T03:04:05Z","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{"f:taints":{}}}}]},"spec":{"podCIDR":"10.2.1.0/25","podCIDRs":["10.2.1.0/25"],"providerID":"linode://25175284","taints":[{"key":"node.kubernetes.io/not-ready","effect":"NoSchedule"}]},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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:Network plugin returns error: cni plugin not initialized"}],"addresses":[{"type":"Hostname","address":"lke7452-7765-0f042ccd0000"},{"type":"ExternalIP","address":"97.107.143.131"},{"type":"InternalIP","address":"192.168.161.23"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"864736be2de54d7c84799ef60b81d401","systemUUID":"864736be2de54d7c84799ef60b81d401","bootID":"35d22e5e-2134-4415-9edf-ce3a6d6c7b8f","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7452-7765-1c8078110000","uid":"d013f3b4-3a04-4340-beb9-7aaac7afb4ff","resourceVersion":"778","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-1c8078110000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"6692378d1e034fbc92f8ef40e96caa3252726292","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.2","lke.linode.com/wgpub":"s9bXqp5hYFbsGxexYZoUCdbLjcKzszbof1Wk081g1EY=","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.128/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"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:allocatable":{"f:ephemeral-storage":{}},"f:capacity":{"f:ephemeral-storage":{}},"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.128/25","podCIDRs":["10.2.0.128/25"],"providerID":"linode://25175283"},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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":"lke7452-7765-1c8078110000"},{"type":"ExternalIP","address":"97.107.143.243"},{"type":"InternalIP","address":"192.168.161.46"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"673fa8d4a8ed4380904b82d5ca502361","systemUUID":"673fa8d4a8ed4380904b82d5ca502361","bootID":"4d1bc812-552d-42bd-a2d7-809b35a40ab4","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["docker.io/calico/cni@sha256:a38d53cb8688944eafede2f0eadc478b1b403cefeff7953da57fe9cd2d65e977","docker.io/calico/cni:v3.25.0"],"sizeBytes":87984941},{"names":["docker.io/bitnami/kubectl@sha256:c4a8d9c0cd9c5f903830ea64816c83adf307ff1d775bc3e5b77f1d49d3960205","docker.io/bitnami/kubectl:1.16.3-debian-10-r36"],"sizeBytes":65850129},{"names":["docker.io/linode/kube-proxy-amd64@sha256:64d1b8b0b99b1d199c88916feb2fb03e6b003e71a9f24e5e4b6d1dd116d595d6","docker.io/linode/kube-proxy-amd64:v1.29.4"],"sizeBytes":28405965},{"names":["docker.io/linode/csi-node-driver-registrar@sha256:9622c6a6dac7499a055a382930f4de82905a3c5735c0753f7094115c9c871309","docker.io/linode/csi-node-driver-registrar:v1.3.0"],"sizeBytes":7717137},{"names":["docker.io/calico/pod2daemon-flexvol@sha256:01ddd57d428787b3ac689daa685660defe4bd7810069544bd43a9103a7b0a789","docker.io/calico/pod2daemon-flexvol:v3.25.0"],"sizeBytes":7076045},{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}},{"metadata":{"name":"lke7452-7765-32284d6a0000","uid":"172d09ff-b953-4b94-8735-fadf57bf3ac5","resourceVersion":"735","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7452-7765-32284d6a0000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"7765","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"bO49S5DxAhZsV9ggnqyzdlJnp49gdQO/4Lni9zMu/3c=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"subresource":"status"},{"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:allocatable":{"f:ephemeral-storage":{}},"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/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25175282"},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51524172Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2031404Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47484676837","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1929004Ki","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":"lke7452-7765-32284d6a0000"},{"type":"ExternalIP","address":"172.104.221.148"},{"type":"InternalIP","address":"192.168.191.83"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"4f62be35842046509b33d9ee54ca1450","systemUUID":"4f62be35842046509b33d9ee54ca1450","bootID":"a97f4eb6-4dac-4377-b4b4-d54696957779","kernelVersion":"6.1.0-20-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.6.31","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}}]} + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"613"},"items":[{"metadata":{"name":"lke7869-9253-14bc30040000","uid":"0651d255-1305-4fc3-bce2-23a6e40e2a32","resourceVersion":"586","creationTimestamp":"2018-01-02T03:04:05Z","labels":{"beta.kubernetes.io/arch":"amd64","beta.kubernetes.io/instance-type":"g6-standard-1","beta.kubernetes.io/os":"linux","failure-domain.beta.kubernetes.io/region":"us-east","kubernetes.io/arch":"amd64","kubernetes.io/hostname":"lke7869-9253-14bc30040000","kubernetes.io/os":"linux","lke.linode.com/pool-id":"9253","node.k8s.linode.com/host-uuid":"53257e56e7692e143036a5fbf7daaf92b5350bf3","node.kubernetes.io/instance-type":"g6-standard-1","topology.kubernetes.io/region":"us-east"},"annotations":{"kubeadm.alpha.kubernetes.io/cri-socket":"unix:///run/containerd/containerd.sock","lke.linode.com/wgip":"172.31.0.1","lke.linode.com/wgpub":"zCmI2ThOIkbWF5C/RPam95xo4ExM6LklPIhGfOFsTlw=","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/25\"":{}}}}},{"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","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.k8s.linode.com/host-uuid":{},"f:node.kubernetes.io/instance-type":{},"f:topology.kubernetes.io/region":{}}},"f:spec":{"f:providerID":{}}}},{"manager":"linode-cloud-controller-manager-linux","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\":\"Hostname\"}":{".":{},"f:address":{},"f:type":{}},"k:{\"type\":\"InternalIP\"}":{".":{},"f:address":{},"f:type":{}}}}},"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:allocatable":{"f:ephemeral-storage":{}},"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/25","podCIDRs":["10.2.0.0/25"],"providerID":"linode://25212187"},"status":{"capacity":{"cpu":"1","ephemeral-storage":"51507660Ki","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"2027300Ki","pods":"110"},"allocatable":{"cpu":"1","ephemeral-storage":"47469459378","hugepages-1Gi":"0","hugepages-2Mi":"0","memory":"1924900Ki","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":"lke7869-9253-14bc30040000"},{"type":"ExternalIP","address":"139.144.129.191"},{"type":"InternalIP","address":"192.168.191.65"}],"daemonEndpoints":{"kubeletEndpoint":{"Port":10250}},"nodeInfo":{"machineID":"f6032e3562c645d5b0b7b5812520b368","systemUUID":"f6032e3562c645d5b0b7b5812520b368","bootID":"d75a46d6-5448-4328-bbc7-1bd999c84f3c","kernelVersion":"6.1.0-22-cloud-amd64","osImage":"Debian GNU/Linux 12 (bookworm)","containerRuntimeVersion":"containerd://1.7.18","kubeletVersion":"v1.29.2","kubeProxyVersion":"v1.29.2","operatingSystem":"linux","architecture":"amd64"},"images":[{"names":["registry.k8s.io/pause@sha256:1ff6c18fbef2045af6b9c16bf034cc421a29027b800e4f9b68ae9b1cb3e9ae07","registry.k8s.io/pause:3.5"],"sizeBytes":301416}]}}]} headers: Audit-Id: - - e4a463be-5f2c-40e4-bc29-bdcdd6be94ae + - 67ebee4f-0108-4da1-84c6-1aec3fe7fa02 Cache-Control: - no-cache, private Content-Type: - application/json X-Kubernetes-Pf-Flowschema-Uid: - - b58fbd26-116c-4d6a-983f-ed29537ff051 + - a7def880-6cfb-4d9c-853a-92a77b84d325 X-Kubernetes-Pf-Prioritylevel-Uid: - - f9f3481f-7557-47b1-bfce-e3741d1b4160 + - 4e7a37d0-d51d-4d54-8dc1-0a99e607986f status: 200 OK code: 200 duration: "" diff --git a/test/integration/fixtures/TestLKECluster_withACL.yaml b/test/integration/fixtures/TestLKECluster_withACL.yaml index 24d2c2a83..d68d052e2 100644 --- a/test/integration/fixtures/TestLKECluster_withACL.yaml +++ b/test/integration/fixtures/TestLKECluster_withACL.yaml @@ -14,241 +14,73 @@ interactions: url: https://api.linode.com/v4beta/regions method: GET response: - body: '{"data": [{"id": "ap-west", "label": "Mumbai, IN", "country": "in", "capabilities": - ["Linodes", "Backups", "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"}, "placement_group_limits": - {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, - {"id": "ca-central", "label": "Toronto, CA", "country": "ca", "capabilities": - ["Linodes", "Backups", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-southeast", - "label": "Sydney, AU", "country": "au", "capabilities": ["Linodes", "Backups", - "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"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-iad", "label": - "Washington, DC", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "139.144.192.62, 139.144.192.60, 139.144.192.61, 139.144.192.53, 139.144.192.54, - 139.144.192.67, 139.144.192.69, 139.144.192.66, 139.144.192.52, 139.144.192.68", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-ord", "label": - "Chicago, IL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.232.0.17, 172.232.0.16, 172.232.0.21, 172.232.0.13, 172.232.0.22, - 172.232.0.9, 172.232.0.19, 172.232.0.20, 172.232.0.15, 172.232.0.18", "ipv6": - "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "fr-par", "label": - "Paris, FR", "country": "fr", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Managed Databases", "Metadata", "Premium Plans"], "status": "ok", "resolvers": - {"ipv4": "172.232.32.21, 172.232.32.23, 172.232.32.17, 172.232.32.18, 172.232.32.16, - 172.232.32.22, 172.232.32.20, 172.232.32.14, 172.232.32.11, 172.232.32.12", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-sea", "label": - "Seattle, WA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.232.160.19, 172.232.160.21, 172.232.160.17, 172.232.160.15, 172.232.160.18, - 172.232.160.8, 172.232.160.12, 172.232.160.11, 172.232.160.14, 172.232.160.16", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "br-gru", "label": - "Sao Paulo, BR", "country": "br", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.0.4, 172.233.0.9, 172.233.0.7, 172.233.0.12, 172.233.0.5, 172.233.0.13, - 172.233.0.10, 172.233.0.6, 172.233.0.8, 172.233.0.11", "ipv6": "1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "nl-ams", "label": "Amsterdam, NL", "country": - "nl", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", - "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", "VPCs", "Metadata", - "Premium Plans"], "status": "ok", "resolvers": {"ipv4": "172.233.33.36, 172.233.33.38, - 172.233.33.35, 172.233.33.39, 172.233.33.34, 172.233.33.33, 172.233.33.31, 172.233.33.30, - 172.233.33.37, 172.233.33.32", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}, "placement_group_limits": - {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, - {"id": "se-sto", "label": "Stockholm, SE", "country": "se", "capabilities": - ["Linodes", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.232.128.24, 172.232.128.26, 172.232.128.20, 172.232.128.22, - 172.232.128.25, 172.232.128.19, 172.232.128.23, 172.232.128.18, 172.232.128.21, - 172.232.128.27", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}, "placement_group_limits": - {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, - {"id": "es-mad", "label": "Madrid, ES", "country": "es", "capabilities": ["Linodes", - "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.233.111.6, 172.233.111.17, 172.233.111.21, 172.233.111.25, - 172.233.111.19, 172.233.111.12, 172.233.111.26, 172.233.111.16, 172.233.111.18, - 172.233.111.9", "ipv6": "1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678"}, "placement_group_limits": - {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, - {"id": "in-maa", "label": "Chennai, IN", "country": "in", "capabilities": ["Linodes", - "Backups", "NodeBalancers", "Block Storage", "Object Storage", "Kubernetes", - "Cloud Firewall", "Vlans", "VPCs", "Metadata", "Premium Plans"], "status": "ok", - "resolvers": {"ipv4": "172.232.96.17, 172.232.96.26, 172.232.96.19, 172.232.96.20, - 172.232.96.25, 172.232.96.21, 172.232.96.18, 172.232.96.22, 172.232.96.23, 172.232.96.24", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "jp-osa", "label": - "Osaka, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.64.44, 172.233.64.43, 172.233.64.37, 172.233.64.40, 172.233.64.46, - 172.233.64.41, 172.233.64.39, 172.233.64.42, 172.233.64.45, 172.233.64.38", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "it-mil", "label": - "Milan, IT", "country": "it", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.232.192.19, 172.232.192.18, 172.232.192.16, 172.232.192.20, 172.232.192.24, - 172.232.192.21, 172.232.192.22, 172.232.192.17, 172.232.192.15, 172.232.192.23", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-mia", "label": - "Miami, FL", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.160.34, 172.233.160.27, 172.233.160.30, 172.233.160.29, 172.233.160.32, - 172.233.160.28, 172.233.160.33, 172.233.160.26, 172.233.160.25, 172.233.160.31", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "id-cgk", "label": - "Jakarta, ID", "country": "id", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.232.224.23, 172.232.224.32, 172.232.224.26, 172.232.224.27, 172.232.224.21, - 172.232.224.24, 172.232.224.22, 172.232.224.20, 172.232.224.31, 172.232.224.28", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-lax", "label": - "Los Angeles, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Object Storage", "Kubernetes", "Cloud Firewall", "Vlans", - "VPCs", "Metadata", "Premium Plans"], "status": "ok", "resolvers": {"ipv4": - "172.233.128.45, 172.233.128.38, 172.233.128.53, 172.233.128.37, 172.233.128.34, - 172.233.128.36, 172.233.128.33, 172.233.128.39, 172.233.128.43, 172.233.128.44", - "ipv6": "1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678, 1234::5678, 1234::5678, - 1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", - "label": "Dallas, TX", "country": "us", "capabilities": ["Linodes", "Backups", - "NodeBalancers", "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-west", "label": - "Fremont, CA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", - "Block Storage", "Kubernetes", "Cloud Firewall", "Vlans", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-southeast", - "label": "Atlanta, GA", "country": "us", "capabilities": ["Linodes", "Backups", - "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ", "country": - "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", - "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-west", "label": - "London, UK", "country": "gb", "capabilities": ["Linodes", "Backups", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": + body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", + "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", + "VPCs", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", + "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", + "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", + "Placement Group"], "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud + Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], + "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", - "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Vlans", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": - 5, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", - "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "Backups", - "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo, JP", "country": - "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Block Storage", - "Kubernetes", "Cloud Firewall", "Vlans", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 5, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 25}' + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -261,23 +93,20 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive + - private, max-age=900 + - private, max-age=60, s-maxage=60 Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Expires: - - Mon, 29 Apr 2024 17:28:41 GMT - Pragma: - - no-cache + Server: + - nginx Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter - - Accept-Encoding X-Accepted-Oauth-Scopes: - '*' X-Content-Type-Options: @@ -295,7 +124,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-test-def","region":"ap-west","k8s_version":"1.29","tags":["testing"],"control_plane":{"acl":{"enabled":true,"addresses":{"ipv4":["10.0.0.1/32"],"ipv6":["1234::5678"]}}}}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-test-def","region":"us-east","k8s_version":"1.29","tags":["testing"],"control_plane":{"acl":{"enabled":true,"addresses":{"ipv4":["10.0.0.1/32"],"ipv6":["1234::5678"]}}}}' form: {} headers: Accept: @@ -307,8 +136,8 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 173796, "status": "ready", "created": "2018-01-02T03:04:05", "updated": - "2018-01-02T03:04:05", "label": "go-test-def", "region": "ap-west", "k8s_version": + body: '{"id": 7868, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + "2018-01-02T03:04:05", "label": "go-test-def", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: @@ -322,19 +151,15 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive + - private, max-age=60, s-maxage=60 Content-Length: - - "237" + - "235" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Expires: - - Mon, 29 Apr 2024 17:29:09 GMT - Pragma: - - no-cache + Server: + - nginx Strict-Transport-Security: - max-age=31536000 Vary: @@ -365,7 +190,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/173796/control_plane_acl + url: https://api.linode.com/v4beta/lke/clusters/7868/control_plane_acl method: GET response: body: '{"acl": {"enabled": true, "addresses": {"ipv4": ["10.0.0.1/32"], "ipv6": @@ -382,19 +207,16 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 Content-Length: - "94" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Expires: - - Mon, 29 Apr 2024 17:29:10 GMT - Pragma: - - no-cache + Server: + - nginx Strict-Transport-Security: - max-age=31536000 Vary: @@ -417,7 +239,7 @@ interactions: code: 200 duration: "" - request: - body: '{"acl":{"enabled":true,"addresses":{"ipv4":["10.0.0.2/32"]}}}' + body: '{"acl":{"enabled":true,"addresses":{"ipv4":["10.0.0.2/32"],"ipv6":[]}}}' form: {} headers: Accept: @@ -426,7 +248,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/173796/control_plane_acl + url: https://api.linode.com/v4beta/lke/clusters/7868/control_plane_acl method: PUT response: body: '{"acl": {"enabled": true, "addresses": {"ipv4": ["10.0.0.2/32"]}}}' @@ -442,19 +264,15 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive + - private, max-age=60, s-maxage=60 Content-Length: - "66" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Expires: - - Mon, 29 Apr 2024 17:29:13 GMT - Pragma: - - no-cache + Server: + - nginx Strict-Transport-Security: - max-age=31536000 Vary: @@ -485,7 +303,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/173796/control_plane_acl + url: https://api.linode.com/v4beta/lke/clusters/7868/control_plane_acl method: DELETE response: body: '{}' @@ -501,19 +319,15 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive + - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Expires: - - Mon, 29 Apr 2024 17:29:15 GMT - Pragma: - - no-cache + Server: + - nginx Strict-Transport-Security: - max-age=31536000 Vary: @@ -544,7 +358,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/173796/control_plane_acl + url: https://api.linode.com/v4beta/lke/clusters/7868/control_plane_acl method: GET response: body: '{"acl": {"enabled": false, "addresses": null}}' @@ -560,19 +374,16 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive + - private, max-age=0, s-maxage=0, no-cache, no-store + - private, max-age=60, s-maxage=60 Content-Length: - "46" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Expires: - - Mon, 29 Apr 2024 17:29:16 GMT - Pragma: - - no-cache + Server: + - nginx Strict-Transport-Security: - max-age=31536000 Vary: @@ -604,7 +415,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/173796 + url: https://api.linode.com/v4beta/lke/clusters/7868 method: DELETE response: body: '{}' @@ -620,19 +431,15 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - max-age=0, no-cache, no-store - Connection: - - keep-alive + - private, max-age=60, s-maxage=60 Content-Length: - "2" Content-Security-Policy: - default-src 'none' Content-Type: - application/json - Expires: - - Mon, 29 Apr 2024 17:29:38 GMT - Pragma: - - no-cache + Server: + - nginx Strict-Transport-Security: - max-age=31536000 Vary: diff --git a/test/integration/fixtures/TestLKEClusters_List.yaml b/test/integration/fixtures/TestLKEClusters_List.yaml index 69ca022b9..d2451ab52 100644 --- a/test/integration/fixtures/TestLKEClusters_List.yaml +++ b/test/integration/fixtures/TestLKEClusters_List.yaml @@ -11,7 +11,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/regions + url: https://api.linode.com/v4beta/regions method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -128,10 +133,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7459, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7876, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -147,8 +152,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "240" Content-Security-Policy: @@ -187,10 +190,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters + url: https://api.linode.com/v4beta/lke/clusters method: GET response: - body: '{"data": [{"id": 7459, "status": "ready", "created": "2018-01-02T03:04:05", + body: '{"data": [{"id": 7876, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-list", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}], "page": 1, "pages": 1, "results": 1}' @@ -208,10 +211,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "289" Content-Security-Policy: - default-src 'none' Content-Type: @@ -221,6 +220,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -249,7 +249,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4/lke/clusters/7459 + url: https://api.linode.com/v4beta/lke/clusters/7876 method: DELETE response: body: '{}' @@ -266,8 +266,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKENodePool_GetMissing.yaml b/test/integration/fixtures/TestLKENodePool_GetMissing.yaml index 29032c0fc..a6cfd7ddc 100644 --- a/test/integration/fixtures/TestLKENodePool_GetMissing.yaml +++ b/test/integration/fixtures/TestLKENodePool_GetMissing.yaml @@ -24,8 +24,6 @@ interactions: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - Connection: - - keep-alive Content-Length: - "37" Content-Type: @@ -42,6 +40,6 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 404 NOT FOUND + status: 404 Not Found code: 404 duration: "" diff --git a/test/integration/fixtures/TestLKENodePool_Update.yaml b/test/integration/fixtures/TestLKENodePool_Update.yaml index e605c8db9..2a25043a0 100644 --- a/test/integration/fixtures/TestLKENodePool_Update.yaml +++ b/test/integration/fixtures/TestLKENodePool_Update.yaml @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -119,7 +124,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -131,9 +136,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7330, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7879, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -147,8 +152,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "239" Content-Security-Policy: @@ -187,14 +190,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7330/pools + url: https://api.linode.com/v4beta/lke/clusters/7879/pools method: POST response: - body: '{"id": 7623, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7623-10677a820000", - "instance_id": null, "status": "not_ready"}, {"id": "7623-168dfd9c0000", "instance_id": + body: '{"id": 9266, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "9266-137bfd410000", + "instance_id": null, "status": "not_ready"}, {"id": "9266-39dc55650000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"], "disk_encryption": - "enabled"}' + {"enabled": false, "min": 2, "max": 2}, "labels": {}, "taints": [], "tags": + ["testing"], "disk_encryption": "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -208,10 +211,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "354" Content-Security-Policy: - default-src 'none' Content-Type: @@ -221,6 +220,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write @@ -248,13 +248,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7330/pools/7623 + url: https://api.linode.com/v4beta/lke/clusters/7879/pools/9266 method: PUT response: - body: '{"id": 7623, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7623-10677a820000", - "instance_id": null, "status": "not_ready"}, {"id": "7623-168dfd9c0000", "instance_id": + body: '{"id": 9266, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "9266-137bfd410000", + "instance_id": null, "status": "not_ready"}, {"id": "9266-39dc55650000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": true, "min": 2, "max": 5}, "tags": [], "disk_encryption": "enabled"}' + {"enabled": true, "min": 2, "max": 5}, "labels": {}, "taints": [], "tags": [], + "disk_encryption": "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -268,10 +269,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "344" Content-Security-Policy: - default-src 'none' Content-Type: @@ -281,6 +278,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write @@ -308,15 +306,15 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7330/pools/7623 + url: https://api.linode.com/v4beta/lke/clusters/7879/pools/9266 method: PUT response: - body: '{"id": 7623, "type": "g6-standard-2", "count": 3, "nodes": [{"id": "7623-10677a820000", - "instance_id": null, "status": "not_ready"}, {"id": "7623-168dfd9c0000", "instance_id": - null, "status": "not_ready"}, {"id": "7623-354bf7970000", "instance_id": null, + body: '{"id": 9266, "type": "g6-standard-2", "count": 3, "nodes": [{"id": "9266-137bfd410000", + "instance_id": null, "status": "not_ready"}, {"id": "9266-29cc682e0000", "instance_id": + null, "status": "not_ready"}, {"id": "9266-39dc55650000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": true, "min": 2, "max": 5}, "tags": ["bar", "foo", "test"], "disk_encryption": - "enabled"}' + {"enabled": true, "min": 2, "max": 5}, "labels": {}, "taints": [], "tags": ["bar", + "foo", "test"], "disk_encryption": "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -330,10 +328,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "437" Content-Security-Policy: - default-src 'none' Content-Type: @@ -343,6 +337,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write @@ -370,7 +365,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7330/pools/7623 + url: https://api.linode.com/v4beta/lke/clusters/7879/pools/9266 method: DELETE response: body: '{}' @@ -387,8 +382,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -427,7 +420,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7330 + url: https://api.linode.com/v4beta/lke/clusters/7879 method: DELETE response: body: '{}' @@ -444,8 +437,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKENodePools_List.yaml b/test/integration/fixtures/TestLKENodePools_List.yaml index 95e35bffa..5f8e48989 100644 --- a/test/integration/fixtures/TestLKENodePools_List.yaml +++ b/test/integration/fixtures/TestLKENodePools_List.yaml @@ -29,6 +29,14 @@ interactions: "VPCs", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": + 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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", @@ -58,13 +66,13 @@ interactions: "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678,1234::5678"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": @@ -72,7 +80,7 @@ interactions: "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"}, "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 13}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +95,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +104,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -119,7 +124,7 @@ interactions: code: 200 duration: "" - request: - body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"us-east","k8s_version":"1.28","tags":["testing"]}' + body: '{"node_pools":[{"count":1,"type":"g6-standard-2","disks":null,"tags":["test"]}],"label":"go-lke-test-def","region":"us-east","k8s_version":"1.29","tags":["testing"]}' form: {} headers: Accept: @@ -131,9 +136,9 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7328, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7878, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "us-east", "k8s_version": - "1.28", "control_plane": {"high_availability": false}, "tags": ["testing"]}' + "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: Access-Control-Allow-Credentials: - "true" @@ -147,8 +152,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "239" Content-Security-Policy: @@ -187,14 +190,14 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7328/pools + url: https://api.linode.com/v4beta/lke/clusters/7878/pools method: POST response: - body: '{"id": 7619, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "7619-0a55a93c0000", - "instance_id": null, "status": "not_ready"}, {"id": "7619-5f31de190000", "instance_id": + body: '{"id": 9264, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "9264-27d50e270000", + "instance_id": null, "status": "not_ready"}, {"id": "9264-4a467f9d0000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": - {"enabled": false, "min": 2, "max": 2}, "tags": ["testing"], "disk_encryption": - "enabled"}' + {"enabled": false, "min": 2, "max": 2}, "labels": {}, "taints": [], "tags": + ["testing"], "disk_encryption": "enabled"}' headers: Access-Control-Allow-Credentials: - "true" @@ -208,10 +211,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "354" Content-Security-Policy: - default-src 'none' Content-Type: @@ -221,6 +220,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter X-Accepted-Oauth-Scopes: - lke:read_write @@ -248,18 +248,18 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7328/pools + url: https://api.linode.com/v4beta/lke/clusters/7878/pools method: GET response: - body: '{"data": [{"id": 7618, "type": "g6-standard-2", "count": 1, "nodes": [{"id": - "7618-08ab67bd0000", "instance_id": null, "status": "not_ready"}], "disks": - [], "autoscaler": {"enabled": false, "min": 1, "max": 1}, "tags": ["test"], - "disk_encryption": "enabled"}, {"id": 7619, "type": "g6-standard-2", "count": - 2, "nodes": [{"id": "7619-0a55a93c0000", "instance_id": null, "status": "not_ready"}, - {"id": "7619-5f31de190000", "instance_id": null, "status": "not_ready"}], "disks": - [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, - "max": 2}, "tags": ["testing"], "disk_encryption": "enabled"}], "page": 1, "pages": - 1, "results": 2}' + body: '{"data": [{"id": 9263, "type": "g6-standard-2", "count": 1, "nodes": [{"id": + "9263-0de73fca0000", "instance_id": null, "status": "not_ready"}], "disks": + [], "autoscaler": {"enabled": false, "min": 1, "max": 1}, "labels": {}, "taints": + [], "tags": ["test"], "disk_encryption": "enabled"}, {"id": 9264, "type": "g6-standard-2", + "count": 2, "nodes": [{"id": "9264-27d50e270000", "instance_id": null, "status": + "not_ready"}, {"id": "9264-4a467f9d0000", "instance_id": null, "status": "not_ready"}], + "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, + "min": 2, "max": 2}, "labels": {}, "taints": [], "tags": ["testing"], "disk_encryption": + "enabled"}], "page": 1, "pages": 1, "results": 2}' headers: Access-Control-Allow-Credentials: - "true" @@ -274,10 +274,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "653" Content-Security-Policy: - default-src 'none' Content-Type: @@ -287,6 +283,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -315,7 +312,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7328/pools/7619 + url: https://api.linode.com/v4beta/lke/clusters/7878/pools/9264 method: DELETE response: body: '{}' @@ -332,8 +329,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -372,7 +367,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7328 + url: https://api.linode.com/v4beta/lke/clusters/7878 method: DELETE response: body: '{}' @@ -389,8 +384,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKEVersion_GetFound.yaml b/test/integration/fixtures/TestLKEVersion_GetFound.yaml index 6ee093870..0ddafb4f1 100644 --- a/test/integration/fixtures/TestLKEVersion_GetFound.yaml +++ b/test/integration/fixtures/TestLKEVersion_GetFound.yaml @@ -29,8 +29,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "14" Content-Security-Policy: diff --git a/test/integration/fixtures/TestLKEVersion_GetMissing.yaml b/test/integration/fixtures/TestLKEVersion_GetMissing.yaml index c81d58aba..f20a6de2e 100644 --- a/test/integration/fixtures/TestLKEVersion_GetMissing.yaml +++ b/test/integration/fixtures/TestLKEVersion_GetMissing.yaml @@ -24,8 +24,6 @@ interactions: - '*' Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - Connection: - - keep-alive Content-Length: - "37" Content-Type: @@ -42,6 +40,6 @@ interactions: - '*' X-Ratelimit-Limit: - "400" - status: 404 NOT FOUND + status: 404 Not Found code: 404 duration: "" diff --git a/test/integration/fixtures/TestLKEVersions_List.yaml b/test/integration/fixtures/TestLKEVersions_List.yaml index ebb62e8a2..b45b6725a 100644 --- a/test/integration/fixtures/TestLKEVersions_List.yaml +++ b/test/integration/fixtures/TestLKEVersions_List.yaml @@ -14,7 +14,7 @@ interactions: url: https://api.linode.com/v4beta/lke/versions method: GET response: - body: '{"data": [{"id": "1.29"}, {"id": "1.28"}, {"id": "1.27"}], "page": 1, "pages": + body: '{"data": [{"id": "1.30"}, {"id": "1.29"}, {"id": "1.28"}], "page": 1, "pages": 1, "results": 3}' headers: Access-Control-Allow-Credentials: @@ -30,8 +30,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "95" Content-Security-Policy: diff --git a/test/integration/instances_test.go b/test/integration/instances_test.go index e80fa6b88..2d82ec6c8 100644 --- a/test/integration/instances_test.go +++ b/test/integration/instances_test.go @@ -137,7 +137,7 @@ func TestInstance_Disks_List(t *testing.T) { } func TestInstance_Disks_List_WithEncryption(t *testing.T) { - client, instance, teardown, err := setupInstance(t, "fixtures/TestInstance_Disks_List_WithEncryption", func(c *linodego.Client, ico *linodego.InstanceCreateOptions) { + client, instance, teardown, err := setupInstance(t, "fixtures/TestInstance_Disks_List_WithEncryption", true, func(c *linodego.Client, ico *linodego.InstanceCreateOptions) { ico.Region = getRegionsWithCaps(t, c, []string{"Disk Encryption"})[0] }) defer teardown() @@ -409,6 +409,7 @@ func TestInstance_RebuildWithEncryption(t *testing.T) { client, instance, _, teardown, err := setupInstanceWithoutDisks( t, "fixtures/TestInstance_RebuildWithEncryption", + true, func(client *linodego.Client, options *linodego.InstanceCreateOptions) { options.Region = getRegionsWithCaps(t, client, []string{"Disk Encryption"})[0] options.DiskEncryption = linodego.InstanceDiskEncryptionEnabled diff --git a/test/integration/main_test.go b/test/integration/main_test.go index 9f23c9c88..8596e5dd8 100644 --- a/test/integration/main_test.go +++ b/test/integration/main_test.go @@ -3,13 +3,14 @@ package integration import ( "context" "fmt" - "github.com/linode/linodego" "io" "log" "net/http" "os" "testing" "time" + + "github.com/linode/linodego" ) var ( From 79f6533259bd8aa04819ab666562d1dcdbb75e4b Mon Sep 17 00:00:00 2001 From: Lena Garber Date: Wed, 10 Jul 2024 12:05:52 -0400 Subject: [PATCH 4/8] Add go.work.sum to gitignore --- .gitignore | 1 + go.work.sum | 47 ----------------------------------------------- 2 files changed, 1 insertion(+), 47 deletions(-) delete mode 100644 go.work.sum diff --git a/.gitignore b/.gitignore index cec47a064..a076b73ce 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,4 @@ vendor/**/ .env coverage.txt +go.work.sum diff --git a/go.work.sum b/go.work.sum deleted file mode 100644 index 1580d853b..000000000 --- a/go.work.sum +++ /dev/null @@ -1,47 +0,0 @@ -cloud.google.com/go/compute/metadata v0.3.0 h1:Tz+eQXMEqDIKRsmY3cHTL6FVaynIjX2QxYC4trgAKZc= -cloud.google.com/go/compute/metadata v0.3.0/go.mod h1:zFmK7XCadkQkj6TtorcaGlCW1hT1fIilQDwofLpJ20k= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46 h1:lsxEuwrXEAokXB9qhlbKWPpo3KMLZQ5WB5WLQRW1uq0= -github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod h1:3wb06e3pkSAbeQ52E9H9iFoQsEEwGN64994WTCIhntQ= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio= -github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a h1:idn718Q4B6AGu/h5Sxe66HYVdqdGu2l9Iebqhi/AEoA= -github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod h1:lB+ZfQJz7igIIfQNfa7Ml4HSf2uFQQRzpGGRXenZAgY= -github.com/creack/pty v1.1.9 h1:uDmaGzcdjhF4i/plgjmEsriH11Y0o7RKapEf/LDaM3w= -github.com/evanphx/json-patch v4.12.0+incompatible h1:4onqiflcdA9EOZ4RxV643DvftH5pOlLGNtQ5lPWQu84= -github.com/evanphx/json-patch v4.12.0+incompatible/go.mod h1:50XU6AFN0ol/bzJsmQLiYLvXMP4fmwYFNcr97nuDLSk= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da h1:oI5xCqsCo564l8iNU+DwB5epxmsaqB+rhGL0m5jtYqE= -github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da/go.mod h1:cIg4eruTrX1D+g88fzRXU5OdNfaM+9IcxsU14FzY7Hc= -github.com/google/btree v1.0.1 h1:gK4Kx5IaGY9CD5sPJ36FHiBJ6ZXl0kilRiiCj+jdYp4= -github.com/google/btree v1.0.1/go.mod h1:xXMiIv4Fb/0kKde4SpL7qlzvu5cMJDRkFDxJfI9uaxA= -github.com/gorilla/websocket v1.5.0 h1:PPwGk2jz7EePpoHN/+ClbZu8SPxiqlu12wZP/3sWmnc= -github.com/gorilla/websocket v1.5.0/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 h1:pdN6V1QBWetyv/0+wjACpqVH+eVULgEjkurDLq3goeM= -github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod h1:FecbI9+v66THATjSRHfNgh1IVFe/9kFxbXtjV0ctIMA= -github.com/kisielk/errcheck v1.5.0 h1:e8esj/e4R+SAOwFwN+n3zr0nYeCyeweozKfO23MvHzY= -github.com/kisielk/gotool v1.0.0 h1:AV2c/EiW3KqPNT9ZKl07ehoAGi4C5/01Cfbblndcapg= -github.com/kr/pty v1.1.1 h1:VkoXIwSboBpnk99O/KFauAEILuNHv5DVFKZMBN/gUgw= -github.com/moby/spdystream v0.2.0 h1:cjW1zVyyoiM0T7b6UoySUFqzXMoqRckQtXwGPiBhOM8= -github.com/moby/spdystream v0.2.0/go.mod h1:f7i0iNDQJ059oMTcWxx8MA/zKFIuD/lY+0GqbN2Wy8c= -github.com/modocache/gover v0.0.0-20171022184752-b58185e213c5 h1:8Q0qkMVC/MmWkpIdlvZgcv2o2jrlF6zqVOh7W5YHdMA= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f h1:y5//uYreIhSUg3J1GEMiLbxo1LJaP8RfCpH6pymGZus= -github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod h1:ZdcZmHo+o7JKHSa8/e818NopupXU1YMK5fe1lsApnBw= -github.com/peterbourgon/diskv v2.0.1+incompatible h1:UBdAOUP5p4RWqPBg048CAvpKN+vxiaj6gdUUzhl4XmI= -github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod h1:uqqh8zWWbv1HBMNONnaR/tNboyR3/BZd58JJSHlUSCU= -github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= -github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= -github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY= -github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/8L+MA= -github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= -golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= -golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= -golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= -golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= -golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 h1:H2TDz8ibqkAF6YGhCdN3jS9O0/s90v0rJh3X/OLHEUk= -golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2/go.mod h1:K8+ghG5WaK9qNqU5K3HdILfMLy1f3aNYFI/wnl100a8= -google.golang.org/appengine v1.6.7 h1:FZR1q0exgwxzPzp/aF+VccGrSfxfPpkBqjIIEq3ru6c= -google.golang.org/appengine v1.6.7/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc= -k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 h1:pWEwq4Asjm4vjW7vcsmijwBhOr1/shsbSYiWXmNGlks= -k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01/go.mod h1:FiNAH4ZV3gBg2Kwh89tzAEV2be7d5xI0vBa/VySYy3E= From 0dd7e887333dc30e550a9d350213709138164a98 Mon Sep 17 00:00:00 2001 From: Lena Garber Date: Wed, 10 Jul 2024 12:41:16 -0400 Subject: [PATCH 5/8] Uncomment LKEClusterID validation test logic --- .../fixtures/TestLKENodePool_GetFound.yaml | 553 +++++++++++++++++- .../TestLKENodePool_GetFound_k8s.yaml | 32 + test/integration/lke_node_pools_test.go | 58 +- 3 files changed, 604 insertions(+), 39 deletions(-) create mode 100644 test/integration/fixtures/TestLKENodePool_GetFound_k8s.yaml diff --git a/test/integration/fixtures/TestLKENodePool_GetFound.yaml b/test/integration/fixtures/TestLKENodePool_GetFound.yaml index 279265292..2a947cb3c 100644 --- a/test/integration/fixtures/TestLKENodePool_GetFound.yaml +++ b/test/integration/fixtures/TestLKENodePool_GetFound.yaml @@ -148,7 +148,7 @@ interactions: url: https://api.linode.com/v4beta/lke/clusters method: POST response: - body: '{"id": 7934, "status": "ready", "created": "2018-01-02T03:04:05", "updated": + body: '{"id": 7948, "status": "ready", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "label": "go-lke-test-def", "region": "us-east", "k8s_version": "1.29", "control_plane": {"high_availability": false}, "tags": ["testing"]}' headers: @@ -202,11 +202,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7934/pools + url: https://api.linode.com/v4beta/lke/clusters/7948/pools method: POST response: - body: '{"id": 9484, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "9484-33a4f9d30000", - "instance_id": null, "status": "not_ready"}, {"id": "9484-446c04de0000", "instance_id": + body: '{"id": 9515, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "9515-11f609cf0000", + "instance_id": null, "status": "not_ready"}, {"id": "9515-1ca1561e0000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "labels": {}, "taints": [], "tags": ["testing"], "disk_encryption": "enabled"}' @@ -260,11 +260,11 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7934/pools/9484 + url: https://api.linode.com/v4beta/lke/clusters/7948/pools/9515 method: GET response: - body: '{"id": 9484, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "9484-33a4f9d30000", - "instance_id": null, "status": "not_ready"}, {"id": "9484-446c04de0000", "instance_id": + body: '{"id": 9515, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "9515-11f609cf0000", + "instance_id": null, "status": "not_ready"}, {"id": "9515-1ca1561e0000", "instance_id": null, "status": "not_ready"}], "disks": [{"size": 1000, "type": "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "labels": {}, "taints": [], "tags": ["testing"], "disk_encryption": "enabled"}' @@ -320,7 +320,542 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7934/pools/9484 + url: https://api.linode.com/v4beta/lke/clusters/7948/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: + - "400" + 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/7948/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: + - "400" + 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/7948/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: + - "400" + 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/7948/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: + - "400" + 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/7948/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: + - "400" + 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/7948/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: + - "400" + 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/7948/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: + - "400" + 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/7948/kubeconfig + method: GET + response: + body: '{"kubeconfig": "CmFwaVZlcnNpb246IHYxCmtpbmQ6IENvbmZpZwpwcmVmZXJlbmNlczoge30KCmNsdXN0ZXJzOgotIGNsdXN0ZXI6CiAgICBjZXJ0aWZpY2F0ZS1hdXRob3JpdHktZGF0YTogTFMwdExTMUNSVWRKVGlCRFJWSlVTVVpKUTBGVVJTMHRMUzB0Q2sxSlNVUkNWRU5EUVdVeVowRjNTVUpCWjBsSlZURnBSR2xTVUhJMVJYZDNSRkZaU2t0dldrbG9kbU5PUVZGRlRFSlJRWGRHVkVWVVRVSkZSMEV4VlVVS1FYaE5TMkV6Vm1sYVdFcDFXbGhTYkdONlFXVkdkekI1VGtSQk0wMVVRWGhPYWtrd1RrUktZVVozTUhwT1JFRXpUVVJuZUU1cVNUVk9SRXBoVFVKVmVBcEZla0ZTUW1kT1ZrSkJUVlJEYlhReFdXMVdlV0p0VmpCYVdFMTNaMmRGYVUxQk1FZERVM0ZIVTBsaU0wUlJSVUpCVVZWQlFUUkpRa1IzUVhkblowVkxDa0Z2U1VKQlVVTjFaVlF5UlhKbVZtVTFMMWxyYmxocFlsRktOekl3Umt0WE4wUTVSbkkxTDAxM2EyRlJLMWREWkRCVlNtRTRTbEl2YkRWVlNFYzJUMHNLUjJScUwycG5NRlJ3Vm5VelpGTkJhV2M0TnpVd0x6Y3ZNR3AyZGl0TEwwVlFkMGhUYVVselExQnhTRUZCTHpScVFYSXlRbTlFVG05bFUzaG1lVTlPY1FwUFVHSktOMVIxYm5JelNEZHpaMmRhY1VwVVVscDRkbVJ0UWxoVWRsRklPVzB6Y0ZWYVUzRnRiMlZGY1ZSSFJVaDZTVlZzWVd3M1VrRkNLMVY0VkROckNrbzJTWGx3YUVScVVXTlpUazVKU2xwMlNWbG1ibTVxVjNoaVRFRXdWeTl2YmxCcGFHeFJZblEyUm5vdlZuQmlNMjFSUkRKSGVHdG5VVTFvZHpkcU5ERUtlVzVSYW1KS1NFUmpaelZxZEdwUWQzUTNTM1JtVFZkb2JUZ3JjbGt4YkdZd2EwZGhZWHBLVVVWaVFtSnpORzVtTTFoV1lWZHdha2hHVFRGU1ltRTNkUXBYZGt4S1ExZFhWelF6UjFaM2VIRXhUV1J0ZVdWT1JVaHRaVkl4UVdkTlFrRkJSMnBYVkVKWVRVRTBSMEV4VldSRWQwVkNMM2RSUlVGM1NVTndSRUZRQ2tKblRsWklVazFDUVdZNFJVSlVRVVJCVVVndlRVSXdSMEV4VldSRVoxRlhRa0pTWTIwdmNqZzVjSFJhVUhwTGFuSkpiM2N2Y3pWUk5VNXpjbFZVUVZZS1FtZE9Wa2hTUlVWRWFrRk5aMmR3Y21SWFNteGpiVFZzWkVkV2VrMUJNRWREVTNGSFUwbGlNMFJSUlVKRGQxVkJRVFJKUWtGUlFqazBNVXB0UWpoUVJ3cExaR28xVG5KMWJXTkRTVWt6Y1RoVFdqaEJZMGh1V21sMFZrZE5WRE5YWnpSbUx6TXpXa3BTWkVWWlEwNUNaUzlSTVdWTk0ybHVNRVZpUTNKSWFreGpDazVtZEN0TlFtbEVXSHBEYzNOemJVVTFRVVJFT1RsS2VVVkRiMWxCUzJab1JsWnNTWEJaZG01amFHUmpURUZNT0ZkMWJsY3dlWGd5VkhoSU0yNDJhRFFLWWxST2REaHRaVzh6TjI5blVGWTBWMmR5YlVKSFFsZHVOM0ExYURNMlJtRktXR1pvYldwdWQwZ3pTMWx6Wkc5dVZGQkJXRVpRTjNkM2RFUnJSMjVUTkFwUVNXZGtSRlV2UTNaM1ZVZEtTRWRJTTBKQlZXVnFkRk4yYVVSeGRWTllVVk4xUjJSMk9HbHVOSFZ6VFdOaU5IVmFjRFJhYUVKdFNVc3hhVTF4VkhwRUNuaEViVmxJVjA1dVRVTlVibVJhV0ZKbGJFaGxTbTV0VUZsVWMwTlFWbFJ5U2s0MmMyZHpZelYyYjAxQlkyY3hUV3MwVjNKd1YxVXhhbEZHZDBkVmIwb0tZakl5U0ZWUFREaERWMlV5Q2kwdExTMHRSVTVFSUVORlVsUkpSa2xEUVZSRkxTMHRMUzBLCiAgICBzZXJ2ZXI6IGh0dHBzOi8vZmFlZmYyMWEtY2YwMi00ZDI1LTgyZTEtMTI5NzVjMDI1MzY1LmNwYzEtY2pqMS10ZXN0aW5nLmxpbm9kZWxrZS5uZXQ6NDQzCiAgbmFtZTogbGtlNzk0OAoKdXNlcnM6Ci0gbmFtZTogbGtlNzk0OC1hZG1pbgogIHVzZXI6CiAgICBhcy11c2VyLWV4dHJhOiB7fQogICAgdG9rZW46IGV5SmhiR2NpT2lKU1V6STFOaUlzSW10cFpDSTZJa3hMTUhSaFIySnZSVGhVTlZsRmRqUlVXV0Y1YTNOSmNsSjRabFZzY1U5dFFtTTBkMmwzVDNWUE9GRWlmUS5leUpwYzNNaU9pSnJkV0psY201bGRHVnpMM05sY25acFkyVmhZMk52ZFc1MElpd2lhM1ZpWlhKdVpYUmxjeTVwYnk5elpYSjJhV05sWVdOamIzVnVkQzl1WVcxbGMzQmhZMlVpT2lKcmRXSmxMWE41YzNSbGJTSXNJbXQxWW1WeWJtVjBaWE11YVc4dmMyVnlkbWxqWldGalkyOTFiblF2YzJWamNtVjBMbTVoYldVaU9pSnNhMlV0WVdSdGFXNHRkRzlyWlc0dGVHWjZOWEFpTENKcmRXSmxjbTVsZEdWekxtbHZMM05sY25acFkyVmhZMk52ZFc1MEwzTmxjblpwWTJVdFlXTmpiM1Z1ZEM1dVlXMWxJam9pYkd0bExXRmtiV2x1SWl3aWEzVmlaWEp1WlhSbGN5NXBieTl6WlhKMmFXTmxZV05qYjNWdWRDOXpaWEoyYVdObExXRmpZMjkxYm5RdWRXbGtJam9pTlRReFpUWmlZakl0WVRjNU9TMDBORFZrTFdGbU1HTXRZVGc1WWpJeVpUUmxOelU0SWl3aWMzVmlJam9pYzNsemRHVnRPbk5sY25acFkyVmhZMk52ZFc1ME9tdDFZbVV0YzNsemRHVnRPbXhyWlMxaFpHMXBiaUo5LnNJYW5qV3g3ZTVNX3h3S2J0S19VYVhJUk05ajlPMUNSWXhSbmNsdEx5UFJBbl9vQXNBMHZrRTV1SVhOaktLNHdiVzBpNTFtXzNLeVNYY25qMUlUX2N0cVBXNThEVmx3YnhUQWdJaVlxN3Bya2NSNGhOdkd3ZUs4MXhXUG1Ld18tSkh3MFVQc3JjZ3VDaF9zWmVWajVEZTFDenVwTy1hYnB1eUlhV2NQX2FIa0xmdXI5aUhYa2dnQnh4ZTgzMDh0cXQwdHBRYXdwTnRrdF9kZ095MENMUGxDdEs0M2hFLUx6Y2ZkSXNkcHI2bU83NThnVmh1RnJVeG51aWNOQ0o0VlBhc0N6d3NPX25oV2pkcVZwMENJX094VVA1ekVYdHZwUTRxZW95NjFlUEhwZ0Y5M3RBN296NnZDNTZQVG5rdlZzengzdkJYN2xLX0kydFlNS1FSLThvdwoKY29udGV4dHM6Ci0gY29udGV4dDoKICAgIGNsdXN0ZXI6IGxrZTc5NDgKICAgIG5hbWVzcGFjZTogZGVmYXVsdAogICAgdXNlcjogbGtlNzk0OC1hZG1pbgogIG5hbWU6IGxrZTc5NDgtY3R4CgpjdXJyZW50LWNvbnRleHQ6IGxrZTc5NDgtY3R4Cg=="}' + 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=0, s-maxage=0, no-cache, no-store + - 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: + - Accept-Encoding + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - lke:read_write + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + 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/lke/clusters/7948/pools/9515 + method: GET + response: + body: '{"id": 9515, "type": "g6-standard-2", "count": 2, "nodes": [{"id": "9515-11f609cf0000", + "instance_id": 25218469, "status": "not_ready"}, {"id": "9515-1ca1561e0000", + "instance_id": 25218470, "status": "not_ready"}], "disks": [{"size": 1000, "type": + "ext4"}], "autoscaler": {"enabled": false, "min": 2, "max": 2}, "labels": {}, + "taints": [], "tags": ["testing"], "disk_encryption": "enabled"}' + 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=0, s-maxage=0, no-cache, no-store + - 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: + - Accept-Encoding + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - lke:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + 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/instances/25218469 + method: GET + response: + body: '{"id": 25218469, "label": "lke7948-9515-11f609cf0000", "group": "", "status": + "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-standard-2", "ipv4": ["139.144.130.16", "192.168.191.153"], "ipv6": + "1234::5678/128", "image": null, "region": "us-east", "specs": + {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": + {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": + 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": + null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": + true, "tags": [], "host_uuid": "1d386e98b6381ebb19830539b75c23937bc034a9", "has_user_data": + false, "placement_group": null, "disk_encryption": "enabled", "lke_cluster_id": + 7948}' + 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=0, s-maxage=0, no-cache, no-store + - 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: + - Accept-Encoding + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + 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/instances/25218470 + method: GET + response: + body: '{"id": 25218470, "label": "lke7948-9515-1ca1561e0000", "group": "", "status": + "offline", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-standard-2", "ipv4": ["139.144.130.162", "192.168.191.176"], "ipv6": + "1234::5678/128", "image": null, "region": "us-east", "specs": + {"disk": 81920, "memory": 4096, "vcpus": 2, "gpus": 0, "transfer": 4000}, "alerts": + {"cpu": 180, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": + 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": + null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": + true, "tags": [], "host_uuid": "4aeb9f6781d440986269692c626f2d0fd0b867f1", "has_user_data": + false, "placement_group": null, "disk_encryption": "enabled", "lke_cluster_id": + 7948}' + 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=0, s-maxage=0, no-cache, no-store + - 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: + - Accept-Encoding + - Authorization, X-Filter + - Authorization, X-Filter + X-Accepted-Oauth-Scopes: + - linodes:read_only + X-Content-Type-Options: + - nosniff + X-Frame-Options: + - DENY + - DENY + X-Oauth-Scopes: + - '*' + X-Ratelimit-Limit: + - "400" + 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/lke/clusters/7948/pools/9515 method: DELETE response: body: '{}' @@ -375,7 +910,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/lke/clusters/7934 + url: https://api.linode.com/v4beta/lke/clusters/7948 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestLKENodePool_GetFound_k8s.yaml b/test/integration/fixtures/TestLKENodePool_GetFound_k8s.yaml new file mode 100644 index 000000000..2c13da99e --- /dev/null +++ b/test/integration/fixtures/TestLKENodePool_GetFound_k8s.yaml @@ -0,0 +1,32 @@ +--- +version: 1 +interactions: +- request: + body: "" + form: {} + headers: + Accept: + - application/json, */* + User-Agent: + - integration.test/v0.0.0 (darwin/amd64) kubernetes/$Format + url: https://faeff21a-cf02-4d25-82e1-12975c025365.cpc1-cjj1-testing.linodelke.net:443/api/v1/nodes + method: GET + response: + body: | + {"kind":"NodeList","apiVersion":"v1","metadata":{"resourceVersion":"482"},"items":[]} + headers: + Audit-Id: + - 9ddbdd5c-d2eb-4d41-8c16-fe7cfd2f5c10 + Cache-Control: + - no-cache, private + Content-Length: + - "86" + Content-Type: + - application/json + X-Kubernetes-Pf-Flowschema-Uid: + - 9596e99f-aaf7-40f9-8fa8-8309aae067f0 + X-Kubernetes-Pf-Prioritylevel-Uid: + - 782728e3-ba72-4fc4-970c-d90f8dbfbbcf + status: 200 OK + code: 200 + duration: "" diff --git a/test/integration/lke_node_pools_test.go b/test/integration/lke_node_pools_test.go index cd8397d08..4ca16da96 100644 --- a/test/integration/lke_node_pools_test.go +++ b/test/integration/lke_node_pools_test.go @@ -4,6 +4,8 @@ import ( "context" "testing" + k8scondition "github.com/linode/linodego/k8s/pkg/condition" + "github.com/google/go-cmp/cmp" "github.com/linode/linodego" ) @@ -74,36 +76,32 @@ func TestLKENodePool_GetFound(t *testing.T) { t.Errorf("DiskEncryption not enabled, got: %s, want: %s", i.DiskEncryption, linodego.InstanceDiskEncryptionEnabled) } - // TODO - This field is not yet implemented in dev - // We must wait for the k8s nodes to be ready as a proxy for waiting - // for the Linodes in the node pool to be ready. The inital pool is - // returned with instances that have no IDs - // wrapper, teardownClusterClient := transportRecorderWrapper(t, "fixtures/TestLKENodePool_GetFound") - // defer teardownClusterClient() - - //if err := k8scondition.WaitForLKEClusterAndNodesReady(context.TODO(), *client, lkeCluster.ID, linodego.LKEClusterPollOptions{ - // Retry: true, - // TimeoutSeconds: 0, - // TransportWrapper: wrapper, - //}); err != nil { - // t.Fatalf("got err waiting for LKE cluster and nodes to be ready, err: %v", err) - //} - - //i, err = client.GetLKENodePool(context.TODO(), lkeCluster.ID, pool.ID) - //if err != nil { - // t.Fatalf("failed to get lke node pool, got err: %v", err) - //} - - // for _, node := range i.Linodes { - // instance, err := client.GetInstance(context.Background(), node.InstanceID) - // if err != nil { - // t.Errorf("failed to get Linode, got err: %v", err) - // } - - // if instance.LKEClusterID != lkeCluster.ID { - // t.Errorf("linode: %d is LKENodePool member but got linode LKEClusterID: %d, want: %d", instance.ID, instance.LKEClusterID, lkeCluster.ID) - // } - //} + wrapper, teardownClusterClient := transportRecorderWrapper(t, "fixtures/TestLKENodePool_GetFound_k8s") + defer teardownClusterClient() + + if err := k8scondition.WaitForLKEClusterAndNodesReady(context.TODO(), *client, lkeCluster.ID, linodego.LKEClusterPollOptions{ + Retry: true, + TimeoutSeconds: 0, + TransportWrapper: wrapper, + }); err != nil { + t.Fatalf("got err waiting for LKE cluster and nodes to be ready, err: %v", err) + } + + i, err = client.GetLKENodePool(context.TODO(), lkeCluster.ID, pool.ID) + if err != nil { + t.Fatalf("failed to get lke node pool, got err: %v", err) + } + + for _, node := range i.Linodes { + instance, err := client.GetInstance(context.Background(), node.InstanceID) + if err != nil { + t.Errorf("failed to get Linode, got err: %v", err) + } + + if instance.LKEClusterID != lkeCluster.ID { + t.Errorf("linode: %d is LKENodePool member but got linode LKEClusterID: %d, want: %d", instance.ID, instance.LKEClusterID, lkeCluster.ID) + } + } } func TestLKENodePools_List(t *testing.T) { From d1a2b009cc325cb35d3895e4f430b7d73e270261 Mon Sep 17 00:00:00 2001 From: Lena Garber Date: Tue, 23 Jul 2024 10:43:16 -0400 Subject: [PATCH 6/8] Add LA disclaimers --- instance_disks.go | 16 +++++++++------- instances.go | 12 +++++++++--- lke_node_pools.go | 4 +++- 3 files changed, 21 insertions(+), 11 deletions(-) diff --git a/instance_disks.go b/instance_disks.go index b1c5d9b74..22f3c28f1 100644 --- a/instance_disks.go +++ b/instance_disks.go @@ -10,13 +10,15 @@ import ( // InstanceDisk represents an Instance Disk object type InstanceDisk struct { - ID int `json:"id"` - Label string `json:"label"` - Status DiskStatus `json:"status"` - Size int `json:"size"` - Filesystem DiskFilesystem `json:"filesystem"` - Created *time.Time `json:"-"` - Updated *time.Time `json:"-"` + ID int `json:"id"` + Label string `json:"label"` + Status DiskStatus `json:"status"` + Size int `json:"size"` + Filesystem DiskFilesystem `json:"filesystem"` + Created *time.Time `json:"-"` + Updated *time.Time `json:"-"` + + // NOTE: Disk encryption may not currently be available to all users. DiskEncryption InstanceDiskEncryption `json:"disk_encryption"` } diff --git a/instances.go b/instances.go index 4f5515224..92eb6629a 100644 --- a/instances.go +++ b/instances.go @@ -64,8 +64,10 @@ type Instance struct { // NOTE: Placement Groups may not currently be available to all users. PlacementGroup *InstancePlacementGroup `json:"placement_group"` + // NOTE: Disk encryption may not currently be available to all users. DiskEncryption InstanceDiskEncryption `json:"disk_encryption"` - LKEClusterID int `json:"lke_cluster_id"` + + LKEClusterID int `json:"lke_cluster_id"` } // InstanceSpec represents a linode spec @@ -149,7 +151,9 @@ type InstanceCreateOptions struct { Tags []string `json:"tags,omitempty"` Metadata *InstanceMetadataOptions `json:"metadata,omitempty"` FirewallID int `json:"firewall_id,omitempty"` - DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"` + + // NOTE: Disk encryption may not currently be available to all users. + DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"` // NOTE: Placement Groups may not currently be available to all users. PlacementGroup *InstanceCreatePlacementGroupOptions `json:"placement_group,omitempty"` @@ -367,7 +371,9 @@ type InstanceRebuildOptions struct { Booted *bool `json:"booted,omitempty"` Metadata *InstanceMetadataOptions `json:"metadata,omitempty"` Type string `json:"type,omitempty"` - DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"` + + // NOTE: Disk encryption may not currently be available to all users. + DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"` } // RebuildInstance Deletes all Disks and Configs on this Linode, diff --git a/lke_node_pools.go b/lke_node_pools.go index 8a4e400e7..68c430f6d 100644 --- a/lke_node_pools.go +++ b/lke_node_pools.go @@ -63,7 +63,9 @@ type LKENodePool struct { Labels LKENodePoolLabels `json:"labels"` Taints []LKENodePoolTaint `json:"taints"` - Autoscaler LKENodePoolAutoscaler `json:"autoscaler"` + Autoscaler LKENodePoolAutoscaler `json:"autoscaler"` + + // NOTE: Disk encryption may not currently be available to all users. DiskEncryption InstanceDiskEncryption `json:"disk_encryption,omitempty"` } From 3816b8880a53e99a6d7fc389d1e525418a1c32bc Mon Sep 17 00:00:00 2001 From: Lena Garber Date: Tue, 23 Jul 2024 11:17:57 -0400 Subject: [PATCH 7/8] re-run fixtures --- .../fixtures/TestInstance_DiskEncryption.yaml | 179 +++++++++---- ...estInstance_Disks_List_WithEncryption.yaml | 152 +++++++---- .../TestInstance_RebuildWithEncryption.yaml | 251 ++++++++---------- 3 files changed, 338 insertions(+), 244 deletions(-) diff --git a/test/integration/fixtures/TestInstance_DiskEncryption.yaml b/test/integration/fixtures/TestInstance_DiskEncryption.yaml index d0317b17f..8fb585796 100644 --- a/test/integration/fixtures/TestInstance_DiskEncryption.yaml +++ b/test/integration/fixtures/TestInstance_DiskEncryption.yaml @@ -11,68 +11,144 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing66", "label": "Billing Automation, + BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", + "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing67", "label": "Billing Automation, + BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", + "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing100", "label": "Billing Automation, + BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", + "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", "Placement Group"], "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 3}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "placement_group_limits": {"maximum_pgs_per_customer": 3, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}], "page": 1, "pages": 1, "results": 16}' + 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: + - Accept-Encoding + - 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: + - "400" + 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/availability?page=1 + method: GET + response: + body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +163,8 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - - "7192" + - "49" Content-Security-Policy: - default-src 'none' Content-Type: @@ -110,10 +184,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -122,7 +193,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-72053mvwvvd0","root_pass":"TKfph1YRz3$A''xB:+y:zjp95QFW$OB9^7NW29]0?evp15]f69;Cb2#7Pv0?^G`x.","image":"linode/debian9","disk_encryption":"enabled","booted":false}' + body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-hy88743rnti2","root_pass":"T}\u003c7Bd4|[-eU6Cu1q#Rs;jY{\u00262/6*T#ZJ2G6$xU6Ih~B512uP5lBh4tC]-y4es4v","image":"linode/debian9","firewall_id":37243,"disk_encryption":"enabled","booted":false}' form: {} headers: Accept: @@ -134,16 +205,17 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 25161592, "label": "go-test-ins-72053mvwvvd0", "group": "", "status": + body: '{"id": 25233714, "label": "go-test-ins-hy88743rnti2", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["139.144.131.14"], "ipv6": "1234::5678/128", - "image": "linode/debian9", "region": "us-east", "specs": {"disk": 25600, "memory": - 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": - 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "6f6d2db69b53136a16a2b9fa33f42654a2c5d4a7", "has_user_data": false, "placement_group": - null, "disk_encryption": "enabled"}' + "type": "g6-nanode-1", "ipv4": ["143.42.180.166"], "ipv6": "1234::5678/128", + "image": "linode/debian9", "region": "us-east", "site_type": "core", "specs": + {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": + {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": + 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": + null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": + true, "tags": [], "host_uuid": "3ea139a93c92b6eda6fa3085f78d8cf2132a9234", "has_user_data": + false, "placement_group": null, "disk_encryption": "enabled", "lke_cluster_id": + null}' headers: Access-Control-Allow-Credentials: - "true" @@ -157,10 +229,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "797" Content-Security-Policy: - default-src 'none' Content-Type: @@ -170,6 +238,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write @@ -179,10 +248,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "10" X-Xss-Protection: @@ -200,7 +266,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/25161592 + url: https://api.linode.com/v4beta/linode/instances/25233714 method: DELETE response: body: '{}' @@ -217,8 +283,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -239,10 +303,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: diff --git a/test/integration/fixtures/TestInstance_Disks_List_WithEncryption.yaml b/test/integration/fixtures/TestInstance_Disks_List_WithEncryption.yaml index 591619e40..b1cffc992 100644 --- a/test/integration/fixtures/TestInstance_Disks_List_WithEncryption.yaml +++ b/test/integration/fixtures/TestInstance_Disks_List_WithEncryption.yaml @@ -11,88 +11,88 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "billing66", "label": "Billing Automation, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing66", "label": "Billing Automation, BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "billing67", "label": "Billing Automation, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing67", "label": "Billing Automation, BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "billing100", "label": "Billing Automation, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing100", "label": "Billing Automation, BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", "Placement Group"], "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 3}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 3, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 16}' + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}], "page": 1, "pages": 1, "results": 16}' headers: Access-Control-Allow-Credentials: - "true" @@ -136,7 +136,64 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-d316s89qpfd0","root_pass":"xu2ng^+''+V}~k=Y\u003c}F8EEIbP7tFWU2f739p?1pR\u002647Bwz80u''gGLkOi|T?,595]7","image":"linode/debian9","firewall_id":36247,"booted":false}' + 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/availability?page=1 + method: GET + response: + body: '{"data": [], "page": 1, "pages": 1, "results": 0}' + 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-Length: + - "49" + 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: + - "400" + X-Xss-Protection: + - 1; mode=block + status: 200 OK + code: 200 + duration: "" +- request: + body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-14h5j35fra8t","root_pass":"7b`1:c}P03`JA2t5fx9t02a!1Kmb#.$Txg\u0026QS7=$T1rX!;Y\u0026VgQAS=8tx\u0026iD857O","image":"linode/debian9","firewall_id":37242,"booted":false}' form: {} headers: Accept: @@ -148,16 +205,17 @@ interactions: url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 25218397, "label": "go-test-ins-d316s89qpfd0", "group": "", "status": + body: '{"id": 25233713, "label": "go-test-ins-14h5j35fra8t", "group": "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.104.221.39"], "ipv6": "1234::5678/128", - "image": "linode/debian9", "region": "us-east", "specs": {"disk": 25600, "memory": - 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": - 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "f7b823a530971cfdb3b3374ec6598f5354e688e0", "has_user_data": false, "placement_group": - null, "disk_encryption": "enabled", "lke_cluster_id": null}' + "type": "g6-nanode-1", "ipv4": ["143.42.180.166"], "ipv6": "1234::5678/128", + "image": "linode/debian9", "region": "us-east", "site_type": "core", "specs": + {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": + {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": + 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": + null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": + true, "tags": [], "host_uuid": "3ea139a93c92b6eda6fa3085f78d8cf2132a9234", "has_user_data": + false, "placement_group": null, "disk_encryption": "enabled", "lke_cluster_id": + null}' headers: Access-Control-Allow-Credentials: - "true" @@ -208,12 +266,12 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/25218397/disks?page=1 + url: https://api.linode.com/v4beta/linode/instances/25233713/disks?page=1 method: GET response: - body: '{"data": [{"id": 6296898, "status": "not ready", "label": "Debian 9 Disk", + body: '{"data": [{"id": 6312685, "status": "not ready", "label": "Debian 9 Disk", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": - "ext4", "size": 25088, "disk_encryption": "enabled"}, {"id": 6296899, "status": + "ext4", "size": 25088, "disk_encryption": "enabled"}, {"id": 6312686, "status": "not ready", "label": "512 MB Swap Image", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "filesystem": "swap", "size": 512, "disk_encryption": "enabled"}], "page": 1, "pages": 1, "results": 2}' @@ -269,7 +327,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/25218397 + url: https://api.linode.com/v4beta/linode/instances/25233713 method: DELETE response: body: '{}' diff --git a/test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml b/test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml index f680c0c1b..09e1eb970 100644 --- a/test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml +++ b/test/integration/fixtures/TestInstance_RebuildWithEncryption.yaml @@ -11,68 +11,88 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/regions + url: https://api.linode.com/v4beta/regions?page=1 method: GET response: body: '{"data": [{"id": "ap-west", "label": "Mumbai, India", "country": "in", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ca-central", "label": "Toronto, Ontario, CAN", "country": "ca", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-southeast", "label": "Sydney, NSW, Australia", "country": "au", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Vlans", "VPCs", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "fake-cph-4", "label": "Fake CPH 4, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "fake-cph-5", "label": "Fake CPH 5, DK", "country": + "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", "resolvers": + {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing66", "label": "Billing Automation, + BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", + "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing67", "label": "Billing Automation, + BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", + "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "billing100", "label": "Billing Automation, + BA", "country": "dk", "capabilities": ["Linodes", "Metadata"], "status": "ok", + "resolvers": {"ipv4": "8.8.8.8,1.1.1.1,1.0.0.1,8.8.4.4", "ipv6": "1234::5678,1234::5678,1234::5678,1234::5678"}, + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-central", "label": "Dallas, TX, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Kubernetes", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-west", "label": "Fremont, CA, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-southeast", "label": "Atlanta, GA, USA", "country": "us", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "us-east", "label": "Newark, NJ, USA", "country": "us", "capabilities": ["Linodes", "Disk Encryption", "Backups", "NodeBalancers", "Block Storage", "Object Storage", "GPU Linodes", "Kubernetes", "Cloud Firewall", "Bare Metal", "Vlans", "VPCs", "Block Storage Migrations", "Managed Databases", "Placement Group"], "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 3}, "site_type": "core"}, {"id": "eu-west", "label": "London, England, UK", "country": "uk", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Cloud Firewall", "Vlans", "VPCs", "Managed Databases", "Metadata", "Placement Group"], "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": - "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "placement_group_limits": {"maximum_pgs_per_customer": 3, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-south", "label": "Singapore, SG", "country": + "sg", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": - "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "Object Storage", - "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", + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "eu-central", "label": "Frankfurt, DE", "country": + "de", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}, {"id": "ap-northeast", "label": "Tokyo 2, JP", "country": "jp", "capabilities": ["Linodes", "Backups", "NodeBalancers", "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"}, - "placement_group_limits": {"maximum_pgs_per_customer": 100, "maximum_linodes_per_pg": - 5}, "site_type": "core"}], "page": 1, "pages": 1, "results": 11}' + "placement_group_limits": {"maximum_pgs_per_customer": 2, "maximum_linodes_per_pg": + 2}, "site_type": "core"}], "page": 1, "pages": 1, "results": 16}' headers: Access-Control-Allow-Credentials: - "true" @@ -87,10 +107,6 @@ interactions: Cache-Control: - private, max-age=900 - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "7192" Content-Security-Policy: - default-src 'none' Content-Type: @@ -100,6 +116,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -110,10 +127,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -122,7 +136,7 @@ interactions: code: 200 duration: "" - request: - body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-wo-disk-x69y691y7ovf","disk_encryption":"enabled","booted":false}' + body: "" form: {} headers: Accept: @@ -131,19 +145,10 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances - method: POST + url: https://api.linode.com/v4beta/regions/availability?page=1 + method: GET response: - body: '{"id": 25167331, "label": "go-test-ins-wo-disk-x69y691y7ovf", "group": - "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-nanode-1", "ipv4": ["172.234.6.47"], "ipv6": "1234::5678/128", - "image": null, "region": "us-east", "specs": {"disk": 25600, "memory": 1024, - "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": 90, "network_in": - 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, "backups": {"enabled": - false, "available": false, "schedule": {"day": null, "window": null}, "last_successful": - null}, "hypervisor": "kvm", "watchdog_enabled": true, "tags": [], "host_uuid": - "6f6d2db69b53136a16a2b9fa33f42654a2c5d4a7", "has_user_data": false, "placement_group": - null, "disk_encryption": "enabled"}' + body: '{"data": [], "page": 1, "pages": 1, "results": 0}' headers: Access-Control-Allow-Credentials: - "true" @@ -156,11 +161,10 @@ interactions: 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 - Connection: - - keep-alive Content-Length: - - "791" + - "49" Content-Security-Policy: - default-src 'none' Content-Type: @@ -171,27 +175,25 @@ interactions: - max-age=31536000 Vary: - Authorization, X-Filter + - Authorization, X-Filter X-Accepted-Oauth-Scopes: - - linodes:read_write + - '*' X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - - "10" + - "400" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: '{"label":"go-test-conf-6za102rzcp03","devices":{},"interfaces":null}' + body: '{"region":"us-east","type":"g6-nanode-1","label":"go-test-ins-wo-disk-4b7z2w606uoj","firewall_id":37241,"disk_encryption":"enabled","booted":false}' form: {} headers: Accept: @@ -200,16 +202,20 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/25167331/configs + url: https://api.linode.com/v4beta/linode/instances method: POST response: - body: '{"id": 3395020, "label": "go-test-conf-6za102rzcp03", "helpers": {"updatedb_disabled": - true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": - true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": - "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", - "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, - "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", - "virt_mode": "paravirt", "interfaces": []}' + body: '{"id": 25233676, "label": "go-test-ins-wo-disk-4b7z2w606uoj", "group": + "", "status": "provisioning", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", + "type": "g6-nanode-1", "ipv4": ["143.42.181.225"], "ipv6": "1234::5678/128", + "image": null, "region": "us-east", "site_type": "core", "specs": {"disk": 25600, + "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": + 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, + "backups": {"enabled": false, "available": false, "schedule": {"day": null, + "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": + true, "tags": [], "host_uuid": "3ea139a93c92b6eda6fa3085f78d8cf2132a9234", "has_user_data": + false, "placement_group": null, "disk_encryption": "enabled", "lke_cluster_id": + null}' headers: Access-Control-Allow-Credentials: - "true" @@ -223,10 +229,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "538" Content-Security-Policy: - default-src 'none' Content-Type: @@ -236,6 +238,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write @@ -245,19 +248,16 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - - "400" + - "10" X-Xss-Protection: - 1; mode=block status: 200 OK code: 200 duration: "" - request: - body: "" + body: '{"label":"go-test-conf-2r9209pgz8jb","devices":{},"interfaces":null}' form: {} headers: Accept: @@ -266,17 +266,16 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":25167331,"entity.type":"linode"}' - url: https://api.linode.com/v4beta/account/events?page=1 - method: GET + url: https://api.linode.com/v4beta/linode/instances/25233676/configs + method: POST response: - body: '{"data": [{"id": 28420979, "created": "2018-01-02T03:04:05", "seen": false, - "read": false, "percent_complete": 0, "time_remaining": null, "rate": null, - "duration": null, "action": "linode_create", "username": "avest", "entity": - {"label": "go-test-ins-wo-disk-x69y691y7ovf", "id": 25167331, "type": "linode", - "url": "/v4/linode/instances/25167331"}, "status": "scheduled", "secondary_entity": - null, "message": ""}], "page": 1, "pages": 1, "results": 1}' + body: '{"id": 3460802, "label": "go-test-conf-2r9209pgz8jb", "helpers": {"updatedb_disabled": + true, "distro": true, "modules_dep": true, "network": true, "devtmpfs_automount": + true}, "kernel": "linode/latest-64bit", "comments": "", "memory_limit": 0, "created": + "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", "root_device": "/dev/sda", + "devices": {"sda": null, "sdb": null, "sdc": null, "sdd": null, "sde": null, + "sdf": null, "sdg": null, "sdh": null}, "initrd": null, "run_level": "default", + "virt_mode": "paravirt", "interfaces": []}' headers: Access-Control-Allow-Credentials: - "true" @@ -289,12 +288,7 @@ interactions: Access-Control-Expose-Headers: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "451" Content-Security-Policy: - default-src 'none' Content-Type: @@ -304,20 +298,17 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: - - Authorization, X-Filter + - Accept-Encoding - Authorization, X-Filter X-Accepted-Oauth-Scopes: - - events:read_only + - linodes:read_write X-Content-Type-Options: - nosniff X-Frame-Options: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -336,16 +327,16 @@ interactions: User-Agent: - linodego/dev https://github.com/linode/linodego X-Filter: - - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":25167331,"entity.type":"linode","id":{"+gte":28420979}}' + - '{"+order":"desc","+order_by":"created","action":"linode_create","created":{"+gte":"2018-01-02T03:04:05"},"entity.id":25233676,"entity.type":"linode"}' url: https://api.linode.com/v4beta/account/events?page=1 method: GET response: - body: '{"data": [{"id": 28420979, "created": "2018-01-02T03:04:05", "seen": false, - "read": false, "percent_complete": 100, "time_remaining": 0, "rate": null, "duration": - 28.0, "action": "linode_create", "username": "avest", "entity": {"label": "go-test-ins-wo-disk-x69y691y7ovf", - "id": 25167331, "type": "linode", "url": "/v4/linode/instances/25167331"}, "status": - "finished", "secondary_entity": null, "message": ""}], "page": 1, "pages": 1, - "results": 1}' + body: '{"data": [{"id": 29023183, "created": "2018-01-02T03:04:05", "seen": false, + "read": false, "percent_complete": 100, "time_remaining": null, "rate": null, + "duration": 13.0, "action": "linode_create", "username": "lgarber", "entity": + {"label": "go-test-ins-wo-disk-4b7z2w606uoj", "id": 25233676, "type": "linode", + "url": "/v4/linode/instances/25233676"}, "status": "finished", "secondary_entity": + null, "message": ""}], "page": 1, "pages": 1, "results": 1}' headers: Access-Control-Allow-Credentials: - "true" @@ -360,10 +351,6 @@ interactions: Cache-Control: - private, max-age=0, s-maxage=0, no-cache, no-store - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "449" Content-Security-Policy: - default-src 'none' Content-Type: @@ -373,6 +360,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter - Authorization, X-Filter X-Accepted-Oauth-Scopes: @@ -383,10 +371,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -395,7 +380,7 @@ interactions: code: 200 duration: "" - request: - body: '{"image":"linode/alpine3.19","root_pass":"q!d77=8f3lX47c|[Ir6jZhA5:b*L\\Mp(g{PBW/0|G3tz7`X\u003cYKF657bz.2D0=\\Wl","type":"g6-standard-2","disk_encryption":"disabled"}' + body: '{"image":"linode/alpine3.19","root_pass":"qke2/w`3g+m]L56QT,-5M9-eI}80g[0hQj23=PlJqQH68##cSOL0ucxK?\\[.3K8G","type":"g6-standard-2","disk_encryption":"disabled"}' form: {} headers: Accept: @@ -404,19 +389,20 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/25167331/rebuild + url: https://api.linode.com/v4beta/linode/instances/25233676/rebuild method: POST response: - body: '{"id": 25167331, "label": "go-test-ins-wo-disk-x69y691y7ovf", "group": + body: '{"id": 25233676, "label": "go-test-ins-wo-disk-4b7z2w606uoj", "group": "", "status": "rebuilding", "created": "2018-01-02T03:04:05", "updated": "2018-01-02T03:04:05", - "type": "g6-standard-2", "ipv4": ["172.234.6.47"], "ipv6": "1234::5678/128", - "image": "linode/alpine3.19", "region": "us-east", "specs": {"disk": 25600, - "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": {"cpu": - 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": 10000}, - "backups": {"enabled": false, "available": false, "schedule": {"day": null, - "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": - true, "tags": [], "host_uuid": "6f6d2db69b53136a16a2b9fa33f42654a2c5d4a7", "has_user_data": - false, "placement_group": null, "disk_encryption": "disabled"}' + "type": "g6-standard-2", "ipv4": ["143.42.181.225"], "ipv6": "1234::5678/128", + "image": "linode/alpine3.19", "region": "us-east", "site_type": "core", "specs": + {"disk": 25600, "memory": 1024, "vcpus": 1, "gpus": 0, "transfer": 1000}, "alerts": + {"cpu": 90, "network_in": 10, "network_out": 10, "transfer_quota": 80, "io": + 10000}, "backups": {"enabled": false, "available": false, "schedule": {"day": + null, "window": null}, "last_successful": null}, "hypervisor": "kvm", "watchdog_enabled": + true, "tags": [], "host_uuid": "3ea139a93c92b6eda6fa3085f78d8cf2132a9234", "has_user_data": + false, "placement_group": null, "disk_encryption": "disabled", "lke_cluster_id": + null}' headers: Access-Control-Allow-Credentials: - "true" @@ -430,10 +416,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive - Content-Length: - - "807" Content-Security-Policy: - default-src 'none' Content-Type: @@ -443,6 +425,7 @@ interactions: Strict-Transport-Security: - max-age=31536000 Vary: + - Accept-Encoding - Authorization, X-Filter X-Accepted-Oauth-Scopes: - linodes:read_write @@ -452,10 +435,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: @@ -473,7 +453,7 @@ interactions: - application/json User-Agent: - linodego/dev https://github.com/linode/linodego - url: https://api.linode.com/v4beta/linode/instances/25167331 + url: https://api.linode.com/v4beta/linode/instances/25233676 method: DELETE response: body: '{}' @@ -490,8 +470,6 @@ interactions: - X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Status Cache-Control: - private, max-age=60, s-maxage=60 - Connection: - - keep-alive Content-Length: - "2" Content-Security-Policy: @@ -512,10 +490,7 @@ interactions: - DENY - DENY X-Oauth-Scopes: - - account:read_write databases:read_write domains:read_write events:read_write - firewall:read_write images:read_write ips:read_write linodes:read_write lke:read_write - longview:read_write nodebalancers:read_write object_storage:read_write stackscripts:read_write - volumes:read_write vpc:read_write + - '*' X-Ratelimit-Limit: - "400" X-Xss-Protection: From 31debfb4520fda82af8751a664080b42679c82db Mon Sep 17 00:00:00 2001 From: Lena Garber Date: Tue, 23 Jul 2024 11:52:32 -0400 Subject: [PATCH 8/8] Response to test fix on main --- go.work.sum | 3 +++ test/integration/instances_test.go | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/go.work.sum b/go.work.sum index 776905a41..602f3537e 100644 --- a/go.work.sum +++ b/go.work.sum @@ -34,6 +34,9 @@ github.com/stretchr/objx v0.5.2/go.mod h1:FRsXN1f5AsAjCGJKqEizvkpNtU+EGNCLh3NxZ/ github.com/yuin/goldmark v1.4.13 h1:fVcFKWvrslecOb/tg+Cc05dkeYx540o0FuFt3nUVDoE= golang.org/x/crypto v0.24.0 h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI= golang.org/x/crypto v0.24.0/go.mod h1:Z1PMYSOR5nyMcyAVAIQSKCDwalqy85Aqn1x3Ws4L5DM= +golang.org/x/crypto v0.25.0 h1:ypSNr+bnYL2YhwoMt2zPxHFmbAN1KZs/njMG3hxUp30= +golang.org/x/crypto v0.25.0/go.mod h1:T+wALwcMOSE0kXgUAnPAHqTLW+XHgcELELW8VaDgm/M= +golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= diff --git a/test/integration/instances_test.go b/test/integration/instances_test.go index f6a02dca7..ce21abad0 100644 --- a/test/integration/instances_test.go +++ b/test/integration/instances_test.go @@ -138,7 +138,7 @@ func TestInstance_Disks_List(t *testing.T) { func TestInstance_Disks_List_WithEncryption(t *testing.T) { client, instance, teardown, err := setupInstance(t, "fixtures/TestInstance_Disks_List_WithEncryption", true, func(c *linodego.Client, ico *linodego.InstanceCreateOptions) { - ico.Region = getRegionsWithCaps(t, c, []string{"Disk Encryption"}, []string{})[0] + ico.Region = getRegionsWithCaps(t, c, []string{"Disk Encryption"})[0] }) defer teardown() if err != nil { @@ -417,7 +417,7 @@ func TestInstance_RebuildWithEncryption(t *testing.T) { "fixtures/TestInstance_RebuildWithEncryption", true, func(client *linodego.Client, options *linodego.InstanceCreateOptions) { - options.Region = getRegionsWithCaps(t, client, []string{"Disk Encryption"}, []string{})[0] + options.Region = getRegionsWithCaps(t, client, []string{"Disk Encryption"})[0] options.DiskEncryption = linodego.InstanceDiskEncryptionEnabled }, )