Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by jstrachan
, 1 year ago
Failure executing: POST at: https://192.168.64.12:8443/apis/extensions/v1beta1/namespaces/itest-c2bebd31-2a48-4b8a-b0af-7572bf735479/deployments. Message: Deployment.extensions "camel-spring" is invalid: spec.template.spec.containers: Required value
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://192.168.64.12:8443/apis/extensions/v1beta1/namespaces/itest-c2bebd31-2a48-4b8a-b0af-7572bf735479/deployments. Message: Deployment.extensions "camel-spring" is invalid: spec.template.spec.containers: Required value. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.template.spec.containers, message=Required value, reason=FieldValueRequired, additionalProperties={})], group=extensions, kind=Deployment, name=camel-spring, retryAfterSeconds=null, additionalProperties={}), kind=Status, message=Deployment.extensions "camel-spring" is invalid: spec.template.spec.containers: Required value, metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:310)	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:263)	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:232)	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:207)	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:547)	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:243)	at io.fabric8.kubernetes.api.Controller.doCreateResource(Controller.java:826)	at io.fabric8.kubernetes.api.Controller.applyResource(Controller.java:815)	at io.fabric8.kubernetes.api.Controller.applyEntity(Controller.java:273)	at io.fabric8.kubernetes.api.Controller.apply(Controller.java:222)	at io.fabric8.arquillian.kubernetes.SessionListener.applyConfiguration(SessionListener.java:315)	at io.fabric8.arquillian.kubernetes.SessionListener.start(SessionListener.java:143)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)	at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)	at org.jboss.arquillian.core.impl.EventImpl.fire(EventImpl.java:67)	at io.fabric8.arquillian.kubernetes.SuiteListener.start(SuiteListener.java:44)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)	at org.jboss.arquillian.core.impl.EventContextImpl.invokeObservers(EventContextImpl.java:99)	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:81)	at org.jboss.arquillian.test.impl.TestContextHandler.createSuiteContext(TestContextHandler.java:73)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)	at java.lang.reflect.Method.invoke(Method.java:497)	at org.jboss.arquillian.core.impl.ObserverImpl.invoke(ObserverImpl.java:94)	at org.jboss.arquillian.core.impl.EventContextImpl.proceed(EventContextImpl.java:88)	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:145)	at org.jboss.arquillian.core.impl.ManagerImpl.fire(ManagerImpl.java:116)	at org.jboss.arquillian.test.impl.EventTestRunnerAdaptor.beforeSuite(EventTestRunnerAdaptor.java:75)	at org.jboss.arquillian.junit.Arquillian.run(Arquillian.java:115)	at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:283)	at org.apache.maven.surefire.junit4.JUnit4Provider.executeWithRerun(JUnit4Provider.java:173)	at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:153)	at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:128)	at org.apache.maven.surefire.booter.ForkedBooter.invokeProviderInSameClassLoader(ForkedBooter.java:203)	at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:155)	at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:103)