Questions tagged [argo]

Apply to questions regarding thoughtbot's Swift JSON parser, Argo. For questions about the Kubernetes workflow tool, use argoproj.

136 questions
0
votes
1 answer

How to provide inputs to a containerized application

I have recently started working on Docker, K8s and Argo. I am currently working on creating 2 containerized applications and then link them up in such a way that they can run on Argo. The 2 containerized applications would be as…
Manan Kapoor
  • 327
  • 1
  • 2
  • 11
0
votes
1 answer

Not able to run kubectl cp command in Argo workflow

I am trying to run this command in my Argo workflow kubectl cp /tmp/appendonly.aof redis-node-0:/data/appendonly.aof -c redis -n redis but I get this error Error from server (InternalError): an error on the server ("invalid upgrade response: status…
Viplove
  • 101
  • 2
  • 7
0
votes
1 answer

How do I fix a role-based problem when my role appears to have the correct permissions?

I am trying to establish the namespace "sandbox" in Kubernetes and have been using it for several days for several days without issue. Today I got the below error. I have checked to make sure that I have all of the requisite configmaps in place. Is…
user3877654
  • 1,045
  • 1
  • 16
  • 40
0
votes
1 answer

Argo workflow: execute a step when stopped forcefully

I have a 5 steps Argo-workflow: step1: create an VM on cloud step2: do some work step3: do some more work step4: do some further work step5: delete the VM All the above steps are time consuming. And for whatever reasons, a running workflow might be…
Chayan Ghosh
  • 718
  • 5
  • 18
0
votes
2 answers

Argo workflow wait pod is not showing processes with command docker ps on GKE

I am running Argo Workflow in GKE and workflow does not show container id while running following command docker ps --all --no-trunc --format={{.Status}}|{{.Label \"io.kubernetes.container.name\"}}|{{.ID}}|{{.CreatedAt}} Because of this wait…
user13865394
0
votes
1 answer

Binary operator '<^>' cannot be applied to operands of type

I has the follow code implemented to work with Argo framework, has been working until the Xcode 11.2.1 update. when I updated my Xcode Version the follow error appears: Binary operator '<^>' cannot be applied to operands of type '(()) -> …
Mervin
  • 3
  • 1
0
votes
2 answers

Argo - what does mean arrow brackets in decode method?

I try to master Argo for json decoding. In documentations there is example of decode function extension User: Decodable { static func decode(j: JSON) -> Decoded { return curry(User.init) <^> j <| "id" <*> j <| "name" } …
Alexey K
  • 6,537
  • 18
  • 60
  • 118
0
votes
0 answers

No '<||?' candidates produce the expected contextual result type 'Decoded<_>'

I have a project that I'm using Argo and I'm getting the error mentioned in title. The error is in the line <*> json <||? ["info", "images", "poster_original"] Honestly I cannot understand what's wrong, this project was in swift 2 something and…
Miguel Ribeiro
  • 8,057
  • 20
  • 51
  • 74
0
votes
1 answer

Creating reactive extension for Alamofire and Argo

Hi I have problem with my reactive extension for Alamofire Here is: extension Alamofire.Manager{ func rac_jsonRequest(method: Alamofire.Method,_ URLString: URLStringConvertible, parameters: [String: AnyObject]? =…
JaSHin
  • 211
  • 2
  • 16
  • 43
0
votes
1 answer

Argo: Type does not conform to protocol 'Decodable'

I am just starting out with Argo to parse my json response into objects. I having the following code (see below) but it keeps throwing up the following errors: Type 'Application' does not conform to protocol 'Decodable' Cannot invoke 'curry' with…
pls
  • 1,522
  • 2
  • 21
  • 41
-1
votes
0 answers

ArgoCD High Available Setups

I am trying to setup a High-Availability for the ArgoCD Setups, but I see the only option is Argo's own HA Setup will provide multiple Redis instances and spread across multiple Kubernetes Nodes. Other than that, are there any possibilities for…
-1
votes
0 answers

I can access my argocd from browser connection refused

I installed argocd in a kubernetes cluster and I am trying to access it from the browser I port-forwarded using the following command kubectl port-forward deployment.apps/argocd-server -n argocd 8087:443 but if I try to access it on my browser I…
etranz
  • 891
  • 2
  • 10
  • 29
-1
votes
1 answer

How to decode [String: Any] using Argo

I just learned Argo basics and was able to decode 99% of my JSONs in production. Now I am facing the following structure (the keys like "5447" and "5954" are dynamic) and need help: { "5447": { "business_id": 5447, "rating": 5, …
Golden Thumb
  • 2,531
  • 21
  • 20
-1
votes
1 answer

Improve Argo parsing performance

In testing with Swift 2.1, Argo parsing performance is particularly slow. I have a model, User that has 20 fields. Some are collections. Should I try to break this up further?
Mark Adams
  • 30,776
  • 11
  • 77
  • 77
-3
votes
1 answer

I have an RBAC problem, but everything I test seems ok?

This is a continuation of the problem described here (How do I fix a role-based problem when my role appears to have the correct permissions?) I have done much more testing and still do not understand the error Error from server (Forbidden): pods is…
user3877654
  • 1,045
  • 1
  • 16
  • 40
1 2 3
8
9