Skip to content

Instantly share code, notes, and snippets.

@anny0739
Last active June 24, 2020 05:46
Show Gist options
  • Save anny0739/7aa4dedbcd808eef8f71f5c4cb38d6e0 to your computer and use it in GitHub Desktop.
Save anny0739/7aa4dedbcd808eef8f71f5c4cb38d6e0 to your computer and use it in GitHub Desktop.
KubernetesLabels.java
public class KubernetesLables {
@JsonProperty("beta.kubernetes.io/arch")
private String betaArch;
@JsonProperty("beta.kubernetes.io/os")
private String betaOs;
@JsonProperty("kubernetes.io/arch")
private String arch;
@JsonProperty("kubernetes.io/hostname")
private String hostname;
@JsonProperty("kubernetes.io/os")
private String os;
@JsonProperty("kubernetes.io/master")
private String master;
}
public class KubernetesLablesDto {
private KubernetesLables labels;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment