Code Monkey home page Code Monkey logo

cluster-api-provider-mailgun's People

Contributors

liztio avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

cluster-api-provider-mailgun's Issues

Example doesn't work?

This example doesn't seem to work, I followed instruction, and met error in capi-system\capi-controller-manager-6d7b58b889-5mbfg pod:

E0509 03:06:56.435811 1 controller.go:258] controller-runtime/controller "msg"="Reconciler error" "error"="failed to find a CustomResourceDefinition for infrastructure.cluster.x-k8s.io/v1alpha3, Kind=MailgunCluster with contract \"cluster.x-k8s.io/v1alpha3\"" "controller"="cluster" "request"={"Namespace":"default","Name":"hello-mailgun"}

And in pod cluster-api-provider-mailgun-system\cluster-api-provider-mailgun-controller-manager-79c644b8975dnzc , the error is:
ERROR controller-runtime.controller Reconciler error {"controller": "mailguncluster", "request": "default/hello-mailgun", "error": "failed to retrieve cluster: {Name:hello-mailgun GenerateName: Namespace:default SelfLink:/apis/infrastructure.cluster.x-k8s.io/v1alpha3/namespaces/default/mailgunclusters/hello-mailgun UID:e5684416-9d10-47ec-84fe-b96a236f2dde ResourceVersion:116159 Generation:1 CreationTimestamp:2020-05-09 00:31:45 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[] Annotations:map[kubectl.kubernetes.io/last-applied-configuration:{\"apiVersion\":\"infrastructure.cluster.x-k8s.io/v1alpha3\",\"kind\":\"MailgunCluster\",\"metadata\":{\"annotations\":{},\"name\":\"hello-mailgun\",\"namespace\":\"default\"},\"spec\":{\"priority\":\"ExtremelyUrgent\",\"request\":\"Please make me a cluster, with sugar on top?\",\"requester\":\"[email protected]\"}}\n] OwnerReferences:[] Initializers:nil Finalizers:[] ClusterName: ManagedFields:[{Manager:kubectl Operation:Update APIVersion:infrastructure.cluster.x-k8s.io/v1alpha3 Time:2020-05-09 00:31:45 +0000 UTC Fields:nil}]}"}

The cluster yaml file is the example

apiVersion: cluster.x-k8s.io/v1alpha2
kind: Cluster
metadata:
  name: hello-mailgun
spec:
  clusterNetwork:
    pods:
      cidrBlocks: ["192.168.0.0/16"]
  infrastructureRef:
    apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
    kind: MailgunCluster
    name: hello-mailgun
---
apiVersion: infrastructure.cluster.x-k8s.io/v1alpha3
kind: MailgunCluster
metadata:
  name: hello-mailgun
spec:
  priority: "ExtremelyUrgent"
  request: "Please make me a cluster, with sugar on top?"
  requester: "[email protected]"

Am I missing anything?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.