package awsnode

import "github.com/oslokommune/okctl/pkg/kube/manifests/awsnode"

Package awsnode performs operations on the aws-node daemonset

Index

Types

type AWSNode

type AWSNode struct {
	Name      string
	Namespace string
	// contains filtered or unexported fields
}

AWSNode contains the required state for interacting with the aws-node

func New

func New(client kubernetes.Interface) *AWSNode

New returns an initialised aws-node client

func (*AWSNode) EnablePodENI

func (a *AWSNode) EnablePodENI() error

EnablePodENI enables the pod ENI's so we can attach security groups to pods Based on the output from this command, this appears to be what kubectl does: `kubectl -n kube-system set env daemonset aws-node ENABLE_POD_ENI=true --v=9`

Source Files

awsnode.go

Version
v0.0.106 (latest)
Published
Oct 21, 2022
Platform
linux/amd64
Imports
3 packages
Last checked
18 hours ago

Tools for package owners.