cloud-deploy | Governing Self-Service On-Demand Cloud Provisioning | GCP library

 by   michaelford85 Python Version: v0.1.0 License: No License

kandi X-RAY | cloud-deploy Summary

kandi X-RAY | cloud-deploy Summary

cloud-deploy is a Python library typically used in Cloud, GCP, Docker applications. cloud-deploy has no bugs, it has no vulnerabilities and it has low support. However cloud-deploy build file is not available. You can download it from GitHub.

Governing Self-Service On-Demand Cloud Provisioning (AWS and GCP)
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              cloud-deploy has a low active ecosystem.
              It has 23 star(s) with 14 fork(s). There are 5 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 1 open issues and 0 have been closed. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of cloud-deploy is v0.1.0

            kandi-Quality Quality

              cloud-deploy has 0 bugs and 0 code smells.

            kandi-Security Security

              cloud-deploy has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              cloud-deploy code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              cloud-deploy does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              cloud-deploy releases are available to install and integrate.
              cloud-deploy has no build file. You will be need to create the build yourself to build the component from source.
              It has 1224 lines of code, 17 functions and 7 files.
              It has high code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed cloud-deploy and discovered the below as its top functions. This is intended to give you an instant insight into cloud-deploy implemented functionality, and help decide if they suit your requirements.
            • Run the module
            • Parse Ansible inventory .
            • Invoke REST operation .
            • Login to the service .
            • Initialize client .
            • Iterate logic .
            • Iterate through valid conditions .
            • Main entry point .
            Get all kandi verified functions for this library.

            cloud-deploy Key Features

            No Key Features are available at this moment for cloud-deploy.

            cloud-deploy Examples and Code Snippets

            No Code Snippets are available at this moment for cloud-deploy.

            Community Discussions

            QUESTION

            AWS not found using gitlab ci
            Asked 2022-Mar-20 at 04:22

            I have a following gitlab-ci.yml file and when the pipeline runs it gives me below error.

            ...

            ANSWER

            Answered 2022-Mar-20 at 04:22

            Your Preproduction stage is using alpine:latest image, which doesn't come with AWS CLI bundled. Change that to registry.gitlab.com/gitlab-org/cloud-deploy/aws-base:v0.3.6 and it should work.

            Source https://stackoverflow.com/questions/71543845

            QUESTION

            AWS ECS images in two task definitions using gitlab pipelines
            Asked 2022-Jan-22 at 15:41

            I have come pretty far in case of setting up everything necessary for building, deploying and running an docker image to AWS ECS.

            So far I have acheived:

            • docker image is built and pushed to my private gitlab container registry
            • AWS ECS cluster, services and task definitions are setup, up and running. I have two task definitions within one cluster service. Both containers are running - on initial startup, ECS pulled images from gitlab registry successfully (React webapp, images differ in some frontend configurations only, thats why I have two containers/task definitions).

            Now the problem: I am trying to follow official gitlab documentation for deploying image to ECS. Just to be clear, I am using Fargate, not EC2. I have problem especially with gitlab-ci.yml, because in documentation, they refer to template which should be used for deployment.

            Template itself consists of another 2 templates:

            1. build template
            2. deploy template

            Since I cannot rely on these templates as they are, not just because they didn't work when I configured everything as described in the documentation, but mainly because I have two task definitions which must be deployed witin one CD job.

            I have managed to copy deployment scripts into my own gitlab-ci.yml file in my repo. This is current version, which has only one task definition:

            ...

            ANSWER

            Answered 2022-Jan-22 at 15:41

            So I have found a solution to this after talks with AWS Support, which brought some more light into this problem, but I have managed to come up with a bit different solution than they suggested.

            Their solution was to register a new task definition and then update service, which is fine, but only if you really need a new task revision for every deployment job, which I did not. I am using the same image name and same image tag.

            Version with registering new task definition looks like this:

            Source https://stackoverflow.com/questions/70789628

            QUESTION

            Does AWS Lambda get-layer-version not work for cross-accounts?
            Asked 2021-Dec-03 at 11:53

            I have an AWS Layer in aws account A and a Lambda function referencing that layer in account B. I create the layer from account A and permissioned account B to it using:

            ...

            ANSWER

            Answered 2021-Dec-03 at 11:53

            The layer name that you supply to get-layer-version can be either a layer name or a layer ARN. If you supply a simple name, such as mylayer, then nothing explicitly indicates which AWS account you want to query so the query runs against the AWS account associated with the credentials that you used, and that is account B, which has no such layer.

            So, supply the full ARN of the layer with —-layer-name. The query will then run against account A and find the layer. Obviously you need cross-account permission for this, which you have.

            Source https://stackoverflow.com/questions/70208374

            QUESTION

            Spring batch worker pods are unable to pick custom service account for spring cloud deployer kubernetes
            Asked 2021-Aug-27 at 10:22

            I am trying to run a spring batch with remote partitioning on K8s cluster using spring-cloud-deployer-kubernetes. Eventhough I have configured a service account and mentioned in my application properties the below way

            ...

            ANSWER

            Answered 2021-Aug-27 at 10:22

            As per the official documentation of spring cloud dataflow here, adding the below to SCDF server config map solved the issue for me.

            Source https://stackoverflow.com/questions/68916168

            QUESTION

            How to test a .NET 4.8 client running against a .NET 5.0 server in a developer-friendly way?
            Asked 2021-Jul-05 at 09:57

            I don't know if this question is appropriate for this forum.

            I am developing a C# ASP.NET Core webservice and a client-side library that uses this webservice. At this time, both the code for the server-side part and the client-side part live in the same Git repository and Visual Studio solution. The server-part is intended to run in Azure.

            I have a combination of unit tests and integration tests, including end-to-end integration tests that test both client and server at the same time. I have written tests that can run the client either (depending on configuration) against an instance of the server in Azure (with a URI that gets injected) OR against a local in-memory server instance using Microsoft.AspNetCore.TestHost.

            This works great. The in-memory server instance is very convenient when coding. Our Continuous Integration (Jenkins) server runs the integration tests against a cloud-deployed server (i.e., an instance of our ASP.NET Core webservice that has been deployed to Azure). This testing-against-the-cloud provides vital value but is too cumbersome to do while coding locally.

            Here comes the problem: The server is intended to run on .NET 5. The client part needs to be able to run on both .NET Framework 4.8 and .NET 5. We want to test that a client running 4.8 can work correctly against a server running .NET 5 (i.e., an instance of our ASP.NET Core webservice that has been compiled against .NET 5).

            It is of course possible to run integration tests using .NET 4.8 against a cloud-deployed server that uses .NET 5.

            It is probably not possible - or at least not convenient - to run these tests locally (since the same test process would have to run both .NET 4.8 and .NET 5). But I guess we can live with that.

            Of course I can build the server part against .NET 5 and deploy it to the server and run ONE integration test against that. But that doesn't solve my long-term problem. I want to be able to regularly run all my integration tests. More specifically, what I would like to achieve is:

            1. It should be easy to run the integration tests locally with a .NET 5 client against a locally hosted .NET 5 server (as today).
            2. The Jenkins server should run the integration tests with a .NET 5 client against a cloud-deployed .NET 5 server (as today).
            3. The Jenkins server should ALSO run the integration tests with a .NET 4.8 client against a cloud-deployed .NET 5 server.
            4. I don't want to have to maintain two sets of tests. I want it to be easy to run all the same tests in all 3 scenarios.

            I can achieve 1-3 by making a copy of my integration test project and letting this new project target .NET 4.8 and always run against the cloud. But that would mean maintaining two sets of tests.

            Do you have any advice for how I can achieve all 4 objectives?

            Thanks in advance!

            EDIT 1: Regarding platforms: Our developer machines and Jenkins hosts run Windows. The cloud-deployed server also runs on Windows.

            EDIT 2: Simply multi-targeting the test project (i.e., letting the test project compile against both .NET 4.8 and .NET 5) is not possible. The test project has a reference to the server part because it needs to be able to run the server locally. The server part needs .NET 5; it cannot compile against .NET 4.8 (it relies on libraries that don't exist for .NET 4.8). Hence the test project cannot compile against .NET 4.8 either.

            ...

            ANSWER

            Answered 2021-Jul-05 at 09:57

            I ended up solving it with preprocessor directives as @vernou suggested.

            I have the following projects:

            • ClientLibrary - a wrapper that calls the webservice.
            • WebAPI - server-side implementation of the webservice.
            • IntegrationTest - integration tests.

            My integration test CSPROJ contains this:

            Source https://stackoverflow.com/questions/68207486

            QUESTION

            unable to open nextcloud homepage on kubernetes
            Asked 2021-May-09 at 06:17

            I tried to do a simple deployment of nextcloud on a k8s cluster hosted using minikube on my local machine for learning purposes. This deployment doesn't have any database/storage attached to it. I'm simply looking to open the nextcloud homepage on my local machine. However, I am unable to do so. Here are my yamls.

            Deployment yaml:

            ...

            ANSWER

            Answered 2021-May-09 at 06:17

            Run minikube service nextcloud-service and it will open it for you.

            Source https://stackoverflow.com/questions/67454620

            QUESTION

            Pipeline CI/CD actions only on changed files
            Asked 2021-May-06 at 17:20

            I'm trying to create a gitlab ci/cd pipeline able to upload on Amazon S3 only the edited files. It is a possible thing? If yes, how can I edit my current .gitlab-ci.yml so only the changed files are uploade to ASW S3:

            ...

            ANSWER

            Answered 2021-May-06 at 17:05

            You can use aws s3 sync site/ s3:// under script. Using the sync command copies missing or outdated files.

            View more info here: https://docs.aws.amazon.com/cli/latest/userguide/cli-services-s3-commands.html#using-s3-commands-managing-objects-sync

            Source https://stackoverflow.com/questions/67418407

            QUESTION

            Azure Web App not updating after mvn azure-webapp:deploy
            Asked 2021-May-05 at 20:40

            I'm using Azure to host my Java Spring Boot application. I have created a trial to test this solution and I managed to deploy my application following this tutorial Deploy with Azure which is using the azure-webapp-maven-plugin and the command mvn azure-webapp:deploy.

            My problem is that when I'm making changes inside my application and I want to apply them in my Azure Web App but nothing actually update when I reach the page, here is the message after using the deploy command :

            ...

            ANSWER

            Answered 2021-May-05 at 20:40

            Are you only running mvn azure-webapp:deploy?

            Make sure you run mvn package first, or mvn package azure-webapp:deploy. Otherwise it will just re-deploy the same WAR file. Include the -Pproduction flag if you want to run it in production mode.

            Edit:

            I set up a project myself and could reproduce your issue. After running mvn azure-webapp:config again twice and updating both Application and Runtime, it seems to work.

            This did two changes to the pom.xml, try these out:

            1. Add war under in the azure-webapp-maven-plugin.
            2. Change jre8 to TOMCAT 9.0.

            Source https://stackoverflow.com/questions/67383952

            QUESTION

            MicroK8S deploy webserver
            Asked 2020-Oct-29 at 15:19

            I am playing with microk8s and I am trying to deploy nextcloud to get more familiar with it. However the deployment of nextcloud went fine, I am facing some issues with setting ingress for that. Maybe you could take a look at my manifests and ingress resource and help find me the problem.

            This is the deployment file:

            ...

            ANSWER

            Answered 2020-Oct-29 at 15:19

            As I posted in the comments:

            You are receiving 503 code because you have a missmatch in your Service -> .spec.selector (run: nextcloud-app) and your Deployment -> .spec.selector.matchLabels (app: nextcloud-app). You will need to have them both the same. You can see it also when describing the service (no endpoint).

            The issue in this particular setup is that there is a missmatch between a matchLabel in a Deployment and selector in the Service:

            Deployment

            Source https://stackoverflow.com/questions/64517650

            QUESTION

            Spring Cloud Dataflow and scheduled tasks
            Asked 2020-Mar-16 at 14:18

            I have a Spring Cloud Dataflow installed on an Openshift cluster. I try to register an application, then to create a task, and everything is fine, but when I try to schedule the task I got the following exception:

            java.lang.IllegalArgumentException: Unable to create directory for local repository: ?/.m2/repository at org.springframework.util.Assert.isTrue(Assert.java:118) ~[spring-core-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.cloud.deployer.resource.maven.MavenArtifactResolver.(MavenArtifactResolver.java:114) ~[spring-cloud-deployer-resource-maven-2.2.0.RELEASE.jar!/:2.2.0.RELEASE] at org.springframework.cloud.deployer.resource.maven.MavenResource.(MavenResource.java:122) ~[spring-cloud-deployer-resource-maven-2.2.0.RELEASE.jar!/:2.2.0.RELEASE] at org.springframework.cloud.deployer.resource.maven.MavenResource.parse(MavenResource.java:268) ~[spring-cloud-deployer-resource-maven-2.2.0.RELEASE.jar!/:2.2.0.RELEASE] at org.springframework.cloud.dataflow.registry.support.AppResourceCommon.getResource(AppResourceCommon.java:167) ~[spring-cloud-dataflow-registry-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] at org.springframework.cloud.dataflow.registry.service.DefaultAppRegistryService.getAppResource(DefaultAppRegistryService.java:266) ~[spring-cloud-dataflow-registry-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] at org.springframework.cloud.dataflow.registry.service.DefaultAppRegistryService$$FastClassBySpringCGLIB$$a8bae4.invoke() ~[spring-cloud-dataflow-registry-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) ~[spring-core-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:769) ~[spring-aop-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163) ~[spring-aop-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) ~[spring-aop-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:366) ~[spring-tx-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:99) ~[spring-tx-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186) ~[spring-aop-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.proceed(CglibAopProxy.java:747) ~[spring-aop-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:689) ~[spring-aop-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.cloud.dataflow.registry.service.DefaultAppRegistryService$$EnhancerBySpringCGLIB$$2e83e4f6.getAppResource() ~[spring-cloud-dataflow-registry-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] at org.springframework.cloud.dataflow.server.service.impl.DefaultSchedulerService.getTaskLauncherResource(DefaultSchedulerService.java:423) ~[spring-cloud-dataflow-server-core-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] at org.springframework.cloud.dataflow.server.service.impl.DefaultSchedulerService.schedule(DefaultSchedulerService.java:211) ~[spring-cloud-dataflow-server-core-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] at org.springframework.cloud.dataflow.server.controller.TaskSchedulerController.save(TaskSchedulerController.java:154) ~[spring-cloud-dataflow-server-core-2.4.0.RELEASE.jar!/:2.4.0.RELEASE] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_232] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_232] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_232] at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_232] at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138) ~[spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:106) ~[spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:888) ~[spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:793) ~[spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:87) ~[spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1040) ~[spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:943) ~[spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006) [spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:909) [spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:660) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883) [spring-webmvc-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at javax.servlet.http.HttpServlet.service(HttpServlet.java:741) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53) [tomcat-embed-websocket-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.springframework.web.filter.ForwardedHeaderFilter.doFilterInternal(ForwardedHeaderFilter.java:158) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:108) [spring-boot-actuator-2.2.4.RELEASE.jar!/:2.2.4.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) [spring-web-5.2.3.RELEASE.jar!/:5.2.3.RELEASE] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:541) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:139) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:92) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.valves.RemoteIpValve.invoke(RemoteIpValve.java:747) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:367) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:860) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1598) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [na:1.8.0_232] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [na:1.8.0_232] at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) [tomcat-embed-core-9.0.30.jar!/:9.0.30] at java.lang.Thread.run(Thread.java:748) [na:1.8.0_232]

            I don't know what does it mean, I'm a newbie in Dataflow. I don't understand why he is trying to use Maven instead of a kubernetes deployer and why I get this error. Could someone provide me some more explanation?

            I'm registering the applications as docker containers, by the way.

            ...

            ANSWER

            Answered 2020-Mar-16 at 14:18

            Based on the above log, it tries to download the maven resource when launching the scheduled task. This is because you registered your task applications as maven resources instead of docker images. You should register the docker images of the task applications on the Kubernetes environment.

            Post 2.3.x release, SCDF launches the scheduled tasks via a task application called scheduler-task-launcher. By default this is set to use maven resource and you need to change this to use docker image. To change, you can set the property: spring.cloud.dataflow.task.scheduler-task-launcher-url to docker://springcloud/spring-cloud-dataflow-scheduler-task-launcher:2.4.0.RELEASE

            Source https://stackoverflow.com/questions/60675540

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install cloud-deploy

            You can download it from GitHub.
            You can use cloud-deploy like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/michaelford85/cloud-deploy.git

          • CLI

            gh repo clone michaelford85/cloud-deploy

          • sshUrl

            git@github.com:michaelford85/cloud-deploy.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular GCP Libraries

            microservices-demo

            by GoogleCloudPlatform

            awesome-kubernetes

            by ramitsurana

            go-cloud

            by google

            infracost

            by infracost

            python-docs-samples

            by GoogleCloudPlatform

            Try Top Libraries by michaelford85

            ansible-panos

            by michaelford85HTML

            ansible-ios

            by michaelford85Python

            aws_workshop

            by michaelford85Python

            rhel-administration

            by michaelford85HTML

            mpoc

            by michaelford85Python