Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

http error, when i use serverless deploy  #10

Description

@zhaogaiwen

this is my serverless.yml

service: my-knative-java
provider:
name: knative
docker:
username: zhaogaiwen
password: zhao19901013

functions:
hello:
handler: hello-world.dockerfile
context: ./code
plugins:

serverless-knative
this is the exception:

Serverless: Deploying Kubernetes namespace "sls-aws-java-maven-dev"...
Serverless: Deploying Knative service for function "aws-java-maven-hello"...

Http Error ---------------------------------------------

HttpError: HTTP request failed
at Request.localVarRequest [as _callback] (/home/ec2-user/zgw/aws-java-maven/node_modules/@kubernetes/client-node/dist/gen/api/customObjectsApi.js:254:40)
at Request.self.callback (/home/ec2-user/zgw/aws-java-maven/node_modules/request/request.js:185:22)
at Request.emit (events.js:198:13)
at Request.EventEmitter.emit (domain.js:448:20)
at Request. (/home/ec2-user/zgw/aws-java-maven/node_modules/request/request.js:1154:10)
at Request.emit (events.js:198:13)
at Request.EventEmitter.emit (domain.js:448:20)
at IncomingMessage. (/home/ec2-user/zgw/aws-java-maven/node_modules/request/request.js:1076:12)
at Object.onceWrapper (events.js:286:20)
at IncomingMessage.emit (events.js:203:15)
at IncomingMessage.EventEmitter.emit (domain.js:448:20)
at endReadableNT (_stream_readable.js:1145:12)
at process._tickCallback (internal/process/next_tick.js:63:19)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions