Open yujunz opened 5 years ago
Thanks for filing this @yujunz what is the name of the cluster you specified? is it based on a dns spec?
It is a private cluster, named bluebell.k8s.local
Full deployment configuration attached.
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
kubectl.kubernetes.io/last-applied-configuration: |
{"apiVersion":"apps/v1beta1","kind":"Deployment","metadata":{"annotations":{},"name":"aws-service-operator","namespace":"aws-service-operator"},"spec":{"replicas":1,"template":{"metadata":{"annotations":{"iam.amazonaws.com/role":"aws-service-operator.bluebell.k8s.local"},"labels":{"app":"aws-service-operator"}},"spec":{"containers":[{"args":["server","--cluster-name=bluebell.k8s.local","--region=cn-north-1","--account-id=<hidden>"],"image":"awsserviceoperator/aws-service-operator:v0.0.1-alpha2","imagePullPolicy":"Always","name":"aws-service-operator"}],"serviceAccountName":"aws-service-operator"}}}}
creationTimestamp: 2018-11-30T08:17:43Z
generation: 1
labels:
app: aws-service-operator
name: aws-service-operator
namespace: aws-service-operator
resourceVersion: "2752961"
selfLink: /apis/extensions/v1beta1/namespaces/aws-service-operator/deployments/aws-service-operator
uid: 69699719-f478-11e8-ab6f-02cd3d588256
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 2
selector:
matchLabels:
app: aws-service-operator
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
annotations:
iam.amazonaws.com/role: aws-service-operator.bluebell.k8s.local
creationTimestamp: null
labels:
app: aws-service-operator
spec:
containers:
- args:
- server
- --cluster-name=bluebell.k8s.local
- --region=cn-north-1
- --account-id=<hidden>
image: awsserviceoperator/aws-service-operator:v0.0.1-alpha2
imagePullPolicy: Always
name: aws-service-operator
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
serviceAccount: aws-service-operator
serviceAccountName: aws-service-operator
terminationGracePeriodSeconds: 30
status:
conditions:
- lastTransitionTime: 2018-11-30T08:17:43Z
lastUpdateTime: 2018-11-30T08:17:49Z
message: ReplicaSet "aws-service-operator-7cdddf9cb5" has successfully progressed.
reason: NewReplicaSetAvailable
status: "True"
type: Progressing
- lastTransitionTime: 2018-12-12T02:29:45Z
lastUpdateTime: 2018-12-12T02:29:45Z
message: Deployment does not have minimum availability.
reason: MinimumReplicasUnavailable
status: "False"
type: Available
observedGeneration: 1
replicas: 1
unavailableReplicas: 1
updatedReplicas: 1
for the cluster name attribute try replacing the .
with -
at least for the operator. .
aren't valid keys in the name of an SNS topic.
@yujunz did this work? If so could you close the issue?
Error message from the deployment