Class TrafficConfig

java.lang.Object
io.quarkus.kubernetes.deployment.TrafficConfig

public class TrafficConfig extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) Optional<Boolean>
    LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target.
    (package private) Optional<Long>
    Percent indicates that percentage based routing should be used and the value indicates the percent of traffic that is to be routed to this Revision or Configuration.
    (package private) Optional<String>
    RevisionName of a specific revision to which to send this portion of traffic.
    (package private) Optional<String>
    Tag is optionally used to expose a dedicated url for referencing this target exclusively.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tag

      @ConfigItem Optional<String> tag
      Tag is optionally used to expose a dedicated url for referencing this target exclusively.
    • revisionName

      @ConfigItem Optional<String> revisionName
      RevisionName of a specific revision to which to send this portion of traffic.
    • latestRevision

      @ConfigItem(defaultValue="false") Optional<Boolean> latestRevision
      LatestRevision may be optionally provided to indicate that the latest ready Revision of the Configuration should be used for this traffic target. When provided LatestRevision must be true if RevisionName is empty.
    • percent

      @ConfigItem(defaultValue="100") Optional<Long> percent
      Percent indicates that percentage based routing should be used and the value indicates the percent of traffic that is to be routed to this Revision or Configuration. `0` (zero) mean no traffic, `100` means all traffic.
  • Constructor Details

    • TrafficConfig

      public TrafficConfig()