Has anyone else successfully deployed <ARC runners...
# kubernetes
h
Has anyone else successfully deployed ARC runners for Github actions using Pulumi? This is my first time trying to figure out how to deploy CRDs in Pulumi and I would love a reference point to start from.
v
i was looking at running this a while back but never got around to it. here's an example in typescript of how to deploy a custom resource:
Copy code
const provisionerPub = new k8s.apiextensions.CustomResource(
      `${name}-karpenter-provisioner-public-subnets`,
      {
        apiVersion: '<http://karpenter.sh/v1alpha5|karpenter.sh/v1alpha5>',
        kind: 'Provisioner',
        metadata: {
          name: 'karpenter-public',
        },
        spec: {
          consolidation: {
            enabled: true,
          },
          taints: [
            {
              key: '<http://karpenter.sh/provisioner-name|karpenter.sh/provisioner-name>',
              value: 'karpenter-public',
              effect: 'NoSchedule',
            },
          ],
          requirements: [
            {
              key: '<http://karpenter.sh/capacity-type|karpenter.sh/capacity-type>',
              operator: 'In',
              values: ['spot', 'on-demand'],
            },
          ],
          providerRef: {
            name: 'karpenter-public',
          },
          ttlSecondsUntilExpired: 2592000,
        },
      },
      { dependsOn: [karpenter], provider, parent: this }
    );
h
Cool yeah that's what I think I'll end up using